mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
Update llama_stack/providers/remote/inference/groq/groq_utils.py
This commit is contained in:
parent
687bc52b4b
commit
09ab5c8eab
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ def _map_finish_reason_to_stop_reason(
|
|||
if finish_reason == "stop":
|
||||
return StopReason.end_of_turn
|
||||
elif finish_reason == "length":
|
||||
return StopReason.end_of_message
|
||||
return StopReason.out_of_tokens
|
||||
elif finish_reason == "tool_calls":
|
||||
raise NotImplementedError("tool_calls is not supported yet")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue