chat_tools#

Connect a provider and configure retries, credentials, and transport. See the guide.

zett_agent.providers.openai_compatible.chat_tools(tools)[源代码]#

Render function tools in Chat Completions format.

参数:

tools (Sequence[ToolDefinition])

返回类型:

list[dict[str, JsonValue]]