Closed mingmenmama closed 3 days ago
👀 @mingmenmama
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
🥰 Description of requirements
Please give me a variable name for X.AI to be deployed in VERCEL
Please give me a variable name for X.AI to be deployed in VERCEL
No response
XAI_API_KEY
XAI_API_KEY
API是对的,但是MODEL是空的 尝试过XAI_MODEL_LIST 但是并不正确
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
XAI_API_KEY
The API is correct, but the MODEL is empty Tried XAI_MODEL_LIST but not correct
XAI_API_KEY
API是对的,但是MODEL是空的 尝试过XAI_MODEL_LIST 但是并不正确
之前docker部署直接设置API KEY就可以了,vercel 没试过,照理来说应该是一样的
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
XAI_API_KEY
The API is correct, but the MODEL is empty. I tried XAI_MODEL_LIST but it is not correct.
In the past, it was enough to directly set the API KEY for docker deployment. I haven't tried vercel, so it should be the same.
XAI_MODEL_LIST
应该有效的才对, @hezhijie0327 帮忙看看?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
XAI_MODEL_LIST should be valid. @hezhijie0327 can you help?
@arvinxx 这个 PR #4747
环境变量之前这里 #4734 没声明,然后稍微改了下,后续就直接从runtime读了
哦 看错了... Model List
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Oh, I read it wrong... Model List
vercel 没找到重启功能,在重新构建中,等个结果
PS: Docker 下正常
@mingmenmama 变量更换后,重构下应该就好了,我试了下 ACCESS_CODE
逻辑也是一样的
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
@mingmenmama After changing the variables, it should be fine after refactoring. I tried
ACCESS_CODE
and the logic is the same.
🥰 需求描述
恳求大佬给一个X.AI在VERCEL中部署的变量名称
🧐 解决方案
恳求大佬给一个X.AI在VERCEL中部署的变量名称
📝 补充信息
No response