import { FastifyRequest, FastifyReply } from 'fastify'; /** * Anthropic 协议 POST /anthropic/v1/messages 路由 handler * * 流程: * 1. 覆盖 model 为 astron-code-latest * 2. 构建上游请求(认证头替换 + model 覆盖) * 3. 带重试地转发请求 * 4. 根据流式/非流式分别处理响应 * - 非流式:清理讯飞特有字段后返回 * - 流式:Anthropic SSE 事件过滤 + 讯飞字段清理 → 实时透传 */ export declare function handleAnthropicMessages(request: FastifyRequest, reply: FastifyReply): Promise; //# sourceMappingURL=handler.d.ts.map