mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 06:46:18 +00:00
Update simplemind/providers/anthropic.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -72,7 +72,7 @@ class Anthropic(BaseProvider):
|
||||
]
|
||||
|
||||
response = self.client.messages.create(
|
||||
system=system_prompt.text,
|
||||
system=system_prompt.text if system_prompt else None,
|
||||
model=conversation.llm_model or self.DEFAULT_MODEL,
|
||||
messages=messages,
|
||||
**{**self.DEFAULT_KWARGS, **kwargs},
|
||||
|
||||
Reference in New Issue
Block a user