mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
all: test 3.13 ci (#27197)
Co-authored-by: Bagatur <baskaryan@gmail.com> Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com>
This commit is contained in:
@@ -255,7 +255,7 @@ class OpenAIAssistantV2Runnable(OpenAIAssistantRunnable):
|
||||
name=name,
|
||||
instructions=instructions,
|
||||
tools=[_get_assistants_tool(tool) for tool in tools], # type: ignore
|
||||
tool_resources=tool_resources,
|
||||
tool_resources=tool_resources, # type: ignore[arg-type]
|
||||
model=model,
|
||||
)
|
||||
return cls(assistant_id=assistant.id, client=client, **kwargs)
|
||||
@@ -394,7 +394,7 @@ class OpenAIAssistantV2Runnable(OpenAIAssistantRunnable):
|
||||
name=name,
|
||||
instructions=instructions,
|
||||
tools=openai_tools, # type: ignore
|
||||
tool_resources=tool_resources,
|
||||
tool_resources=tool_resources, # type: ignore[arg-type]
|
||||
model=model,
|
||||
)
|
||||
return cls(assistant_id=assistant.id, async_client=async_client, **kwargs)
|
||||
|
Reference in New Issue
Block a user