zhangrenyang / chatgpt

A free AI assistant that supports GPT-4,支持GPT-4的免费AI助手
99 stars 21 forks source link

How to use cloudflare AI Gateway to Proxy request ? #46

Closed cesuogui closed 2 months ago

cesuogui commented 5 months ago

请求 { "model": "gpt-3.5-turbo", "max_tokens": 2048, "temperature": 0.9, "stream": true, "messages": [ { "role": "system", "content": "你是一位代码和编程专家,你必须回答我的问题并帮我解决编程问题,在您的回答中使用适合所有级别的人的智能、简单和易于理解的语言将很有帮助。用要点逐步解释您的解决方案很有帮助" }, { "role": "user", "content": "如何配置代理服务器" } ] }

响应 (404) { "error": { "type": "invalid_request_error", "code": "unknown_url", "message": "Unknown request URL: POST /v1/v1/chat/completions. Please check the URL for typos, or see the docs at https://platform.openai.com/docs/api-reference/.", "param": null } }

2024531-150711