@ik-firewall/core 2.4.2 → 2.4.3
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/dist/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1904,6 +1904,7 @@ var IKFirewallCore = class _IKFirewallCore {
|
|
|
1904
1904
|
if (mode === "anthropic") return "claude-3-5-sonnet-20241022";
|
|
1905
1905
|
if (mode === "deepseek") return "deepseek-reasoner";
|
|
1906
1906
|
if (mode === "gemini") return "gemini-1.5-pro";
|
|
1907
|
+
if (mode === "perplexity") return role === "high_performance" ? "sonar-pro" : "sonar";
|
|
1907
1908
|
return role === "high_performance" ? "gpt-4o" : "gpt-4o-mini";
|
|
1908
1909
|
}
|
|
1909
1910
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1862,6 +1862,7 @@ var IKFirewallCore = class _IKFirewallCore {
|
|
|
1862
1862
|
if (mode === "anthropic") return "claude-3-5-sonnet-20241022";
|
|
1863
1863
|
if (mode === "deepseek") return "deepseek-reasoner";
|
|
1864
1864
|
if (mode === "gemini") return "gemini-1.5-pro";
|
|
1865
|
+
if (mode === "perplexity") return role === "high_performance" ? "sonar-pro" : "sonar";
|
|
1865
1866
|
return role === "high_performance" ? "gpt-4o" : "gpt-4o-mini";
|
|
1866
1867
|
}
|
|
1867
1868
|
/**
|