mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 20:44:58 +00:00
update router client
This commit is contained in:
parent
46bf0192a1
commit
47a51289ca
2 changed files with 18 additions and 0 deletions
|
@ -105,6 +105,13 @@ class OllamaInferenceAdapter(Inference):
|
|||
delta="",
|
||||
)
|
||||
)
|
||||
|
||||
yield ChatCompletionResponseStreamChunk(
|
||||
event=ChatCompletionResponseEvent(
|
||||
event_type=ChatCompletionResponseEventType.progress,
|
||||
delta="model={}, url={}".format(model, self.url),
|
||||
)
|
||||
)
|
||||
# request = ChatCompletionRequest(
|
||||
# model=model,
|
||||
# messages=messages,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue