mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 21:29:48 +00:00
Moved llama-stack-as-library client to llama-stack
This commit is contained in:
parent
b3cb8eaa38
commit
fd48cf3fc1
4 changed files with 235 additions and 4 deletions
|
|
@ -269,7 +269,6 @@ class OllamaInferenceAdapter(Inference, ModelsProtocolPrivate):
|
|||
r = await self.client.chat(**params)
|
||||
else:
|
||||
r = await self.client.generate(**params)
|
||||
assert isinstance(r, dict)
|
||||
|
||||
if "message" in r:
|
||||
choice = OpenAICompatCompletionChoice(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue