fix(providers): replace retired Spark X2 with Spark X2.5 in iflytek_astron (#12772)

Co-authored-by: KaiyiQuan <KaiyiQuan@users.noreply.github.com>
Co-authored-by: Douwe Osinga <douwe.osinga@gmail.com>
This commit is contained in:
Quan Kaiyi
2026-10-30 19:53:29 +00:00
committed by GitHub
parent 7f9a439e9c
commit 56bfc28abd
2 changed files with 3 additions and 3 deletions
@@ -17,8 +17,8 @@
"dynamic_models": false,
"skip_canonical_filtering": true,
"models": [
{"name": "xsparkx2", "context_limit": 131072},
{"name": "xsparkx2flash", "context_limit": 131072},
{"name": "spark-x2.5", "context_limit": 262144},
{"name": "xsparkx2flash", "context_limit": 262144},
{"name": "xopglm51", "context_limit": 204800},
{"name": "xopglm5", "context_limit": 204800},
{"name": "xopdeepseekv4pro", "context_limit": 131072},
@@ -42,7 +42,7 @@ goose is compatible with a wide range of LLM providers, allowing you to choose a
| [Gondola](https://gondola-ai.com/guides) | Pay-per-request inference via Venice AI, settled in USDC on Base. No subscription or minimum. Includes privacy-preserving TEE models (`e2ee-*`). OpenAI-compatible. | `GONDOLA_API_KEY`, `GONDOLA_HOST` (optional) |
| [Groq](https://groq.com/) | High-performance inference hardware and tools for LLMs. | `GROQ_API_KEY` |
| [iFlytek Spark](https://www.xfyun.cn/doc/spark/HTTP%E8%B0%83%E7%94%A8%E6%96%87%E6%A1%A3.html) | iFlytek Spark (讯飞星火) models (4.0Ultra, generalv3.5, max-32k) via the OpenAI-compatible HTTP API. Best for chat: Spark needs `tool_calls_switch=true` (not injectable here) to return OpenAI-style tool calls. | `SPARK_API_PASSWORD` |
| [iFlytek Astron MaaS](https://maas.xfyun.cn/) | iFlytek Astron MaaS (讯飞星辰) hosting Spark X2, DeepSeek, GLM, Kimi, MiniMax, Qwen, and Astron coding models via an OpenAI-compatible API. Set `ASTRON_BASE_URL` to switch between the Token Plan and Coding Plan endpoints. | `ASTRON_API_KEY`, `ASTRON_BASE_URL` (optional) |
| [iFlytek Astron MaaS](https://maas.xfyun.cn/) | iFlytek Astron MaaS (讯飞星辰) hosting Spark, DeepSeek, GLM, Kimi, MiniMax, Qwen, and Astron coding models via an OpenAI-compatible API. Set `ASTRON_BASE_URL` to switch between the Token Plan and Coding Plan endpoints. | `ASTRON_API_KEY`, `ASTRON_BASE_URL` (optional) |
| [IO Intelligence](https://io.net/) | Inference for open-weight models (DeepSeek, Qwen, Llama, GLM, Kimi, gpt-oss and more) through io.net's OpenAI-compatible API. | `IONET_API_KEY` |
| [Lemonade](https://lemonade-server.ai/) | Run local models with the Lemonade server's OpenAI-compatible API. **Because this provider runs locally, you must first [download a model](#local-llms).** | None required. Connects to local server at `localhost:13305` by default. |
| [LiteLLM](https://docs.litellm.ai/docs/) | LiteLLM proxy supporting multiple models with automatic prompt caching and unified API access. | `LITELLM_HOST`, `LITELLM_BASE_PATH` (optional), `LITELLM_API_KEY` (optional), `LITELLM_CUSTOM_HEADERS` (optional), `LITELLM_TIMEOUT` (optional) |