free-coding-models 0.5.39 → 0.5.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4 @@
1
+ # Changelog v0.5.40 - 2026-07-07
2
+
3
+ ### Fixed
4
+ - Avoid sending `thinking: { type: 'disabled' }` to Cerebras, Mistral, Groq, and SambaNova during ping probes, preventing immediate 400 errors and redundant retry calls.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "free-coding-models",
3
- "version": "0.5.39",
3
+ "version": "0.5.40",
4
4
  "description": "Find the fastest coding LLM models in seconds — ping free models from multiple providers, pick the best one for OpenCode, Cursor, or any AI coding assistant.",
5
5
  "keywords": [
6
6
  "nvidia",
package/src/core/ping.js CHANGED
@@ -80,6 +80,7 @@ export function markDisabledThinkingUnsupported(providerKey) {
80
80
  // 📖 shouldUseDisabledThinkingForProvider: central policy for OpenAI-compatible
81
81
  // 📖 probes, shared by regular pings and router health probes.
82
82
  export function shouldUseDisabledThinkingForProvider(providerKey) {
83
+ if (providerKey === 'cerebras' || providerKey === 'mistral' || providerKey === 'groq' || providerKey === 'sambanova') return false
83
84
  return !disabledThinkingUnsupportedProviders.has(providerKey)
84
85
  }
85
86