fix: update grok default model to grok-2
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

Changed grok-beta to grok-2 across backend config, dashboard tests, and frontend monitoring.
This commit is contained in:
2026-03-19 11:23:56 -04:00
parent 7d43b2c31b
commit 246a6d88f0
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ A unified, high-performance LLM proxy gateway built in Go. It provides a single
- **OpenAI:** GPT-4o, GPT-4o Mini, o1, o3 reasoning models. - **OpenAI:** GPT-4o, GPT-4o Mini, o1, o3 reasoning models.
- **Google Gemini:** Gemini 2.0 Flash, Pro, and vision models (with native CoT support). - **Google Gemini:** Gemini 2.0 Flash, Pro, and vision models (with native CoT support).
- **DeepSeek:** DeepSeek Chat and Reasoner (R1) models. - **DeepSeek:** DeepSeek Chat and Reasoner (R1) models.
- **xAI Grok:** Grok-beta models. - **xAI Grok:** Grok-2 models.
- **Ollama:** Local LLMs running on your network. - **Ollama:** Local LLMs running on your network.
- **Observability & Tracking:** - **Observability & Tracking:**
- **Asynchronous Logging:** Non-blocking request logging to SQLite using background workers. - **Asynchronous Logging:** Non-blocking request logging to SQLite using background workers.

View File

@@ -99,7 +99,7 @@ func Load() (*Config, error) {
v.SetDefault("providers.grok.api_key_env", "GROK_API_KEY") v.SetDefault("providers.grok.api_key_env", "GROK_API_KEY")
v.SetDefault("providers.grok.base_url", "https://api.x.ai/v1") v.SetDefault("providers.grok.base_url", "https://api.x.ai/v1")
v.SetDefault("providers.grok.default_model", "grok-beta") v.SetDefault("providers.grok.default_model", "grok-2")
v.SetDefault("providers.grok.enabled", true) v.SetDefault("providers.grok.enabled", true)
v.SetDefault("providers.ollama.base_url", "http://localhost:11434/v1") v.SetDefault("providers.ollama.base_url", "http://localhost:11434/v1")

View File

@@ -693,7 +693,7 @@ func (s *Server) handleTestProvider(c *gin.Context) {
} else if name == "deepseek" { } else if name == "deepseek" {
testReq.Model = "deepseek-chat" testReq.Model = "deepseek-chat"
} else if name == "grok" { } else if name == "grok" {
testReq.Model = "grok-beta" testReq.Model = "grok-2"
} }
_, err := provider.ChatCompletion(c.Request.Context(), testReq) _, err := provider.ChatCompletion(c.Request.Context(), testReq)

View File

@@ -492,7 +492,7 @@ class MonitoringPage {
simulateRequest() { simulateRequest() {
const clients = ['client-1', 'client-2', 'client-3', 'client-4', 'client-5']; const clients = ['client-1', 'client-2', 'client-3', 'client-4', 'client-5'];
const providers = ['OpenAI', 'Gemini', 'DeepSeek', 'Grok']; const providers = ['OpenAI', 'Gemini', 'DeepSeek', 'Grok'];
const models = ['gpt-4', 'gpt-3.5-turbo', 'gemini-pro', 'deepseek-chat', 'grok-beta']; const models = ['gpt-4o', 'gpt-4o-mini', 'gemini-2.0-flash', 'deepseek-chat', 'grok-2'];
const statuses = ['success', 'success', 'success', 'error', 'warning']; // Mostly success const statuses = ['success', 'success', 'success', 'error', 'warning']; // Mostly success
const request = { const request = {