| 项目 | 内容 |
|---|---|
| Base URL | https://llm.ai-nebula.com/v1/chat/completions |
| 认证方式 | API Key (Token) |
| 请求头 | Authorization: Bearer sk-xxxx、Content-Type: application/json |
deepseek-v3-1-250821temperature、top_p、max_tokens、stopresponse_format/json_schematools/tool_choice(遵循 OpenAI 兼容格式)注:DeepSeek 在不同渠道可能支持更多特性或差异化字段,Nebula 会尽量在兼容层透传与规整,建议仅使用通用字段,或咨询渠道支持列表。
tool_calls(content 通常为 null,finish_reason=tool_calls)。你需要根据 tool_calls[*].function.name/arguments 在你的服务端执行对应函数。role:"tool" 消息回传给模型,并继续补全(可流式)。tool_call_id 必须与第一阶段返回一致。thinking 字段开启/关闭思考能力。默认关闭:thinking={
"type": "disabled" // 默认行为: 关闭思考能力
// "type": "enabled" // 开启思考能力
}thinking 字段:stream: true 以更好的交互体验。