2026.09.12 大模型调用方法 大模型调用方法 AI 调用方式总览 重点:服务端无状态:大模型服务端不保存会话,所有上下文由客户端本地维护 (messages 数组)。 同大类(Chat):同一个接口/函数 client.chat.completions.create(),靠参数区分(stream/tools/response_f