mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
Fix async case
This commit is contained in:
parent
4f7a01c022
commit
a8a860ea1f
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ class OpenAIInferenceAdapter(Inference):
|
|||
stop_reason = StopReason.out_of_tokens
|
||||
break
|
||||
|
||||
text = chunk.choices[0].message.content
|
||||
text = chunk.choices[0].delta.content
|
||||
if text is None:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue