langchain 0.3.22 → 0.3.23
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/chat_models/universal.cjs +2 -1
- package/dist/chat_models/universal.js +2 -1
- package/dist/experimental/chrome_ai/app/dist/bundle.cjs +1250 -0
- package/dist/experimental/chrome_ai/app/dist/bundle.d.ts +1 -0
- package/dist/experimental/chrome_ai/app/dist/bundle.js +1249 -0
- package/package.json +1 -1
|
@@ -142,7 +142,8 @@ function _inferModelProvider(modelName) {
|
|
|
142
142
|
if (modelName.startsWith("gpt-3") ||
|
|
143
143
|
modelName.startsWith("gpt-4") ||
|
|
144
144
|
modelName.startsWith("o1") ||
|
|
145
|
-
modelName.startsWith("o3")
|
|
145
|
+
modelName.startsWith("o3") ||
|
|
146
|
+
modelName.startsWith("o4")) {
|
|
146
147
|
return "openai";
|
|
147
148
|
}
|
|
148
149
|
else if (modelName.startsWith("claude")) {
|
|
@@ -139,7 +139,8 @@ export function _inferModelProvider(modelName) {
|
|
|
139
139
|
if (modelName.startsWith("gpt-3") ||
|
|
140
140
|
modelName.startsWith("gpt-4") ||
|
|
141
141
|
modelName.startsWith("o1") ||
|
|
142
|
-
modelName.startsWith("o3")
|
|
142
|
+
modelName.startsWith("o3") ||
|
|
143
|
+
modelName.startsWith("o4")) {
|
|
143
144
|
return "openai";
|
|
144
145
|
}
|
|
145
146
|
else if (modelName.startsWith("claude")) {
|