langchain 0.1.29 → 0.1.30
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.
|
@@ -15,8 +15,7 @@ export type CreateOpenAIToolsAgentParams = {
|
|
|
15
15
|
* a different model that adds in equivalent support.
|
|
16
16
|
*/
|
|
17
17
|
llm: BaseChatModel<BaseChatModelCallOptions & {
|
|
18
|
-
tools?: StructuredToolInterface[] | OpenAIClient.ChatCompletionTool[];
|
|
19
|
-
tool_choice?: OpenAIClient.ChatCompletionToolChoiceOption;
|
|
18
|
+
tools?: StructuredToolInterface[] | OpenAIClient.ChatCompletionTool[] | any[];
|
|
20
19
|
}>;
|
|
21
20
|
/** Tools this agent has access to. */
|
|
22
21
|
tools: StructuredToolInterface[];
|