供应商日志
设置数据策略,控制供应商处理请求的方式。
发起第一个请求
从目录中选择模型,发送对话请求;客户端支持服务器发送事件时,可使用流式响应。
curl https://your-gateway.example/v1/chat/completions \
-H "Authorization: Bearer $MODELGATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/gpt-4o-mini","messages":[{"role":"user","content":"Hello"}]}'查看集成