mirror of
https://github.com/kennethreitz/simplemind.git
synced 2026-06-05 22:50:18 +00:00
Refactor Groq provider to use the correct client method
This commit is contained in:
@@ -83,7 +83,7 @@ class Groq(BaseProvider):
|
||||
{"role": "user", "content": prompt},
|
||||
]
|
||||
|
||||
response = self.structured_client.chat.completions.create(
|
||||
response = self.client.chat.completions.create(
|
||||
messages=messages,
|
||||
model=llm_model,
|
||||
**kwargs,
|
||||
|
||||
Reference in New Issue
Block a user