Skip to content

Commit 79ff82e

Browse files
revert
1 parent 3dcb195 commit 79ff82e

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

libs/langchain-community/src/load/import_map.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export * as caches__momento from "../caches/momento.js";
1616
export * as chat_models__llama_cpp from "../chat_models/llama_cpp.js";
1717
export * as retrievers__zep from "../retrievers/zep.js";
1818
export * as tools__calculator from "../tools/calculator.js";
19-
export * as agents__toolkits__stagehand from "../agents/toolkits/stagehand.js";
2019
export * as vectorstores__tigris from "../vectorstores/tigris.js";
20+
export * as agents__toolkits__stagehand from "../agents/toolkits/stagehand.js";
2121
export * as embeddings__tencent_hunyuan from "../embeddings/tencent_hunyuan/index.js";
2222
export * as document_loaders__web__assemblyai from "../document_loaders/web/assemblyai.js";
2323
export * as retrievers__zep_cloud from "../retrievers/zep_cloud.js";
@@ -221,9 +221,9 @@ export * as embeddings__premai from "../embeddings/premai.js";
221221
export * as indexes__base from "../indexes/base.js";
222222
export * as tools__duckduckgo_search from "../tools/duckduckgo_search.js";
223223
export * as llms__raycast from "../llms/raycast.js";
224-
export * as agents__toolkits__aws_sfn from "../agents/toolkits/aws_sfn.js";
225224
export * as vectorstores__couchbase_search from "../vectorstores/couchbase_search.js";
226225
export * as vectorstores__usearch from "../vectorstores/usearch.js";
226+
export * as agents__toolkits__aws_sfn from "../agents/toolkits/aws_sfn.js";
227227
export * as stores__message__planetscale from "../stores/message/planetscale.js";
228228
export * as structured_query__supabase from "../structured_query/supabase.js";
229229
export * as tools__dynamic from "../tools/dynamic.js";

libs/langchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,4 @@
207207
"./package.json": "./package.json"
208208
},
209209
"module": "./dist/index.js"
210-
}
210+
}

libs/providers/langchain-anthropic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@
9696
"README.md",
9797
"LICENSE"
9898
]
99-
}
99+
}

libs/providers/langchain-google-common/src/tests/chat_models.test.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,21 +1409,21 @@ describe("Mock ChatGoogle - Gemini", () => {
14091409
const callbacks: CallbackHandlerMethods[] = [
14101410
{
14111411
handleChatModelStart(
1412-
_llm: Serialized,
1413-
_messages: BaseMessage[][],
1414-
_runId: string,
1412+
llm: Serialized,
1413+
messages: BaseMessage[][],
1414+
runId: string,
14151415
_parentRunId?: string,
14161416
_extraParams?: Record<string, unknown>,
14171417
_tags?: string[],
14181418
_metadata?: Record<string, unknown>,
14191419
_runName?: string
14201420
): any {},
14211421
handleCustomEvent(
1422-
_eventName: string,
1423-
_data: any,
1424-
_runId: string,
1425-
_tags?: string[],
1426-
_metadata?: Record<string, any>
1422+
eventName: string,
1423+
data: any,
1424+
runId: string,
1425+
tags?: string[],
1426+
metadata?: Record<string, any>
14271427
): any {},
14281428
},
14291429
];
@@ -1893,9 +1893,8 @@ describe("Mock ChatGoogle - Gemini", () => {
18931893
tool_calls: [
18941894
{
18951895
id: "test",
1896-
type: "tool_call",
1897-
name: "test",
1898-
args: {
1896+
type: "function",
1897+
function: {
18991898
name: "test",
19001899
arguments: '{"testName":"cobalt"}',
19011900
},
@@ -2210,7 +2209,7 @@ describe("Mock ChatGoogle - Gemini", () => {
22102209
);
22112210
expect(result.response_metadata).toHaveProperty("logprobs");
22122211
expect(result.response_metadata.logprobs).toHaveProperty("content");
2213-
const logprobs = (result.response_metadata.logprobs as any).content;
2212+
const logprobs = result.response_metadata.logprobs.content;
22142213
expect(Array.isArray(logprobs)).toBeTruthy();
22152214
expect(logprobs).toHaveLength(303);
22162215
const first = logprobs[0];

libs/providers/langchain-openai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"zod": "^3.25.76 || ^4"
3939
},
4040
"peerDependencies": {
41-
"@langchain/core": "^1.1.1"
41+
"@langchain/core": "^1.0.0"
4242
},
4343
"devDependencies": {
4444
"@azure/identity": "^4.2.1",

0 commit comments

Comments
 (0)