We’ve added capabilities.server_tools to the Models APIPreview with links to the API reference available — press Tab until focus enters the card, Escape to return.. GET /v1/models and GET /v1/models/{model_id} now report whether each model accepts the web search and code execution tools. To check whether a model accepts the code execution tool, read capabilities.server_tools.code_execution. The top-level capabilities.code_execution reports whether code can call your request’s other tools. See Using the Models API.

本文内容采集自官方网站,排版和翻译可能与原页面存在差异。

阅读官方全文