mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-01 21:00:43 +00:00
add x.ai support
This commit is contained in:
parent
2e2a4947b3
commit
ac2ea9e554
3 changed files with 32 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ model_types = [
|
|||
|
||||
provider_status["ollama"] = os.environ.get("OLLAMA_API_BASE") is not None
|
||||
provider_status["openai"] = os.environ.get("OPENAI_API_KEY") is not None
|
||||
provider_status["xai"] = os.environ.get("XAI_API_KEY") is not None
|
||||
provider_status["vertexai"] = (
|
||||
os.environ.get("VERTEX_PROJECT") is not None
|
||||
and os.environ.get("VERTEX_LOCATION") is not None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue