Unverified50% confidenceFactExact time
Chat Completion API的上下文并非由系统自动保存,模型本身是无状态的,需要开发者通过messages消息列表手动传入历史对话记录
1
Sources
50%
Confidence
Long-term
Relevance
7/9/2026
First Seen
Sources
OpenAI大模型开发入门:模型选型、Token计费与API实战指南
bilibiliSCI论文发刊7/8/2026
Related Claims
UnverifiedThe Chat Completions API is based on a message list (messages) interaction pattern, where each request requires passing the complete conversation history80% similarUnverifiedChatGPT API采用无状态设计,每次请求都需要将完整的对话历史作为输入发送并计费79% similarUnverified早期的 Chat Completions API 以对话轮次为核心抽象,Response API 的设计哲学更接近函数调用,输出可被程序直接消费的结构化数据74% similarPartially VerifiedChatbox内置了Prompt模板管理功能,支持保存常用系统提示词并按场景分类管理72% similarUnverifiedChat Model的输入是一个消息列表,输出是结构化消息对象AIMessage,对应ChatOpenAI、ChatAnthropic等类72% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/362345API
curl https://kongchang.com/api/v1/knowledge/claims/362345MCP
get_claim(id=362345)