Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XAI AP KEYI变量 #5846

Open
XXXLPROMAX opened this issue Nov 19, 2024 · 10 comments
Open

XAI AP KEYI变量 #5846

XXXLPROMAX opened this issue Nov 19, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@XXXLPROMAX
Copy link

🥰 需求描述

我想要将自己的XAI的API保存到网页中

🧐 解决方案

我应该使用什么方式,或者修改什么变量,才能实现将自己的XAI API KEY固定到网页中

📝 补充信息

No response

@XXXLPROMAX XXXLPROMAX added the enhancement New feature or request label Nov 19, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: XAI AP KEYI variable

🥰 Description of requirements

I want to save my own XAI API to the web page

🧐 Solution

What method should I use, or what variables should I modify, to fix my XAI API KEY into the web page?

📝 Supplementary information

No response

Copy link
Member

settings页面配置之后,应该就会保存在本地存储里面

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


After the settings page is configured, it should be saved in local storage.

@XXXLPROMAX
Copy link
Author

I want to save this API on the webpage so that I can use it on other new devices later.

@Perdixky
Copy link

我也想知道怎么部署XAI,毕竟现在有免费的额度

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I also want to know how to deploy XAI. After all, there is a free quota now.

@cdpower222
Copy link

怎么样把xai的key放在环境变量里?是否GROK_API_KEY? 还是?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


How to put the xai key in the environment variable? Is it GROK_API_KEY? Or?

@SHIJS1999
Copy link

new ENV XAI_API_KEY

XAI_API_KEY?: string;

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


new ENV XAI_API_KEY

XAI_API_KEY?: string;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants