@oh-my-pi/pi-ai 3.3.1337 → 3.5.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
|
@@ -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
|
|