You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POST https://api.deepseek.com/chat/completions 401 (Unauthorized)
User.tsx:264 onError Error: Fetch failed with status 401
at XFetch (x-fetch.js:34:11)
at async _XRequestClass.create (index.js:50:24)
at async request (User.tsx:240:9)
重现步骤
同样的格式,通义千问的就可以, xrequest 看来有问题,使用 axios 直接请求就可以。
axios是这样用:
const BASE_URL = 'https://api.deepseek.com';
const PATH = '/chat/completions';
const MODEL = 'deepseek-chat';
const API_KEY = '*************';
当前行为
No response
预期行为
No response
上下文
No response
版本
最新的
您在哪些浏览器上遇到了这个问题?
No response
The text was updated successfully, but these errors were encountered: