@oh-my-pi/pi-ai 3.4.1337 → 3.6.1337

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-ai",
3
- "version": "3.4.1337",
3
+ "version": "3.6.1337",
4
4
  "description": "Unified LLM API with automatic model discovery and provider configuration",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -633,7 +633,8 @@ function detectCompatFromUrl(baseUrl: string): Required<OpenAICompat> {
633
633
  baseUrl.includes("cerebras.ai") ||
634
634
  baseUrl.includes("api.x.ai") ||
635
635
  baseUrl.includes("mistral.ai") ||
636
- baseUrl.includes("chutes.ai");
636
+ baseUrl.includes("chutes.ai") ||
637
+ baseUrl.includes("localhost");
637
638
 
638
639
  const useMaxTokens = baseUrl.includes("mistral.ai") || baseUrl.includes("chutes.ai");
639
640