diff --git a/llama_stack/providers/adapters/inference/openai/openai.py b/llama_stack/providers/adapters/inference/openai/openai.py index 7ce1a724e..2a1e279d8 100644 --- a/llama_stack/providers/adapters/inference/openai/openai.py +++ b/llama_stack/providers/adapters/inference/openai/openai.py @@ -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