mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
add better warning message
This commit is contained in:
parent
add42a2afb
commit
8f21bb57ed
1 changed files with 3 additions and 1 deletions
|
|
@ -134,7 +134,9 @@ class ManagedServer:
|
|||
except Exception as e:
|
||||
warnings.warn(
|
||||
f"Failed to create ToolCallTranslator: {e}. "
|
||||
"Tool call parsing will be disabled.",
|
||||
"Tool call parsing will be disabled. "
|
||||
"Install vllm to enable structured tool call extraction from model output (pip install vllm "
|
||||
"or pip install 'atroposlib[openai_endpoint]').",
|
||||
stacklevel=2,
|
||||
)
|
||||
self._tool_parser_name = None # Don't retry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue