feat: add xAI template

This commit is contained in:
Soulter
2025-02-20 16:34:32 +08:00
parent 1bbff1d161
commit a2d5e9f40f
+11
View File
@@ -409,6 +409,17 @@ CONFIG_METADATA_2 = {
"model": "gpt-4o-mini",
},
},
"xAI": {
"id": "xai",
"type": "openai_chat_completion",
"enable": True,
"key": [],
"api_base": "https://api.x.ai/v1",
"timeout": 120,
"model_config": {
"model": "grok-2-latest",
},
},
"ollama": {
"id": "ollama_default",
"type": "openai_chat_completion",