ahvn.agent.conv_agent module¶
- class ahvn.agent.conv_agent.ConvToolAgentSpec(prompt, tools=None, llm_args=None, max_steps=None, **kwargs)[源代码]¶
-
Warning: ConvToolAgentSpec is only used to accomodate LLMs that do not support native function calls. Whenever possible, for best performance and stability, it is recommended to use LLM.tooluse, LLM.oracle(tools=...), SubmitToolAgentSpec, or other tool use agents instead.
- 参数:
prompt (PromptUKFT)
llm_args (Dict | None)
max_steps (int | None)
- __init__(prompt, tools=None, llm_args=None, max_steps=None, **kwargs)[源代码]¶
- 参数:
prompt (PromptUKFT)
llm_args (Dict | None)
max_steps (int | None)