mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 01:03:59 +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":
|
if finish_reason == "stop":
|
||||||
return StopReason.end_of_turn
|
return StopReason.end_of_turn
|
||||||
elif finish_reason == "length":
|
elif finish_reason == "length":
|
||||||
return StopReason.end_of_message
|
return StopReason.out_of_tokens
|
||||||
elif finish_reason == "tool_calls":
|
elif finish_reason == "tool_calls":
|
||||||
raise NotImplementedError("tool_calls is not supported yet")
|
raise NotImplementedError("tool_calls is not supported yet")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue