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

能添加grok模型支持吗 #819

Open
lsh1215225 opened this issue Dec 22, 2024 · 0 comments
Open

能添加grok模型支持吗 #819

lsh1215225 opened this issue Dec 22, 2024 · 0 comments

Comments

@lsh1215225
Copy link

from openai import OpenAI

client = OpenAI(
api_key=XAI_API_KEY,
base_url="https://api.x.ai/v1",
)
按xai支持文档里的,现有的chatgpt(api)这个不是openai(api)好像改不了

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

No branches or pull requests

1 participant