Spaces:
Running
Running
DeL-TaiseiOzaki
commited on
Commit
•
e32a461
1
Parent(s):
01d6d0e
- services/llm_service.py +2 -3
services/llm_service.py
CHANGED
@@ -78,10 +78,9 @@ class LLMService:
|
|
78 |
prompt = self.create_prompt(content, query)
|
79 |
self._add_to_history("user", prompt)
|
80 |
|
81 |
-
if self.current_model == '
|
82 |
response = self.claude_client.messages.create(
|
83 |
-
model="claude-3-sonnet-
|
84 |
-
max_tokens=4000,
|
85 |
messages=self._format_messages_for_claude()
|
86 |
)
|
87 |
answer = response.content[0].text
|
|
|
78 |
prompt = self.create_prompt(content, query)
|
79 |
self._add_to_history("user", prompt)
|
80 |
|
81 |
+
if self.current_model == 'Claude':
|
82 |
response = self.claude_client.messages.create(
|
83 |
+
model="claude-3-5-sonnet-latest",
|
|
|
84 |
messages=self._format_messages_for_claude()
|
85 |
)
|
86 |
answer = response.content[0].text
|