request protocol
从本地请求 path 检测出的入站协议,例如 openai_responses 或 anthropic_messages。
protocol,后者控制出站 wire 行为。文档、配置、代码注释、日志和 capture metadata 中应一致使用这些术语。本页是术语地图;精确取值以对应 reference 页面为准。
request protocol从本地请求 path 检测出的入站协议,例如 openai_responses 或 anthropic_messages。
protocol,后者控制出站 wire 行为。provider protocol配置在 provider 上的出站协议;控制 provider request 序列化和 upstream response 处理。
protocol valueopenai_responses、openai_chat_completions 或 anthropic_messages 三者之一。
translation pair从入站 request protocol 到 provider protocol 的有向转换,例如 openai_chat_completions -> anthropic_messages。
provider name配置好的上游 provider 的用户定义标签。
anthropic 不会自动意味着 anthropic_messages。route默认 provider fallback 之前用于选择 provider 的显式 model/protocol 规则。
request_protocol guard可选 route 字段,把一个模型匹配限制到某个检测出的入站协议。
inbound_request包含 ProxAI 收到的本地客户端请求的 pipeline phase。
provider_request,后者已经经过 provider 选择、转换、模型改写和序列化。provider_request包含选中、转换并序列化后的 provider request 的 pipeline phase。
upstream_response包含上游 status、headers 和原始 body bytes 的 pipeline phase。
outbound_response,后者已经过 response translation/reconstruction。outbound_response包含返回给本地客户端的最终响应的 pipeline phase。
capture phase可写入可选调试 artifacts 的具名 pipeline 位置。
request hints紧凑的、协议感知的日志摘要,避免记录 private request bodies。
SSEServer-Sent Events;OpenAI 兼容与 Anthropic 风格 streaming response 使用的流式 carrier。
terminal event标记语义流完成的协议特定事件或 sentinel,例如 response.completed、[DONE] 或 message_stop。
semantic timeout协议语义条件的超时,例如 streamed tool-call arguments 已开始但未完成。
idle-read timeout等待上游 response bytes 时的传输层超时。
stop reasonProvider/protocol-specific 的 generation 结束原因,例如 Anthropic stop_reason。
finish_reason 或 Responses status;映射是协议特定的。client-facing error type返回给客户端的稳定紧凑 type 值,例如 stream_translation_error。
TranslationError 或 SseError 这类内部 Rust error taxonomy。