File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libs/oci/langchain_oci/chat_models Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1358,7 +1358,7 @@ def with_structured_output(
13581358 key_name = tool_name , first_tool_only = True
13591359 )
13601360 elif method == "json_mode" :
1361- llm = self .bind (response_format = {"type" : "JSON_OBJECT" }) # type: ignore[assignment]
1361+ llm = self .bind (response_format = {"type" : "JSON_OBJECT" })
13621362 output_parser = (
13631363 PydanticOutputParser (pydantic_object = schema )
13641364 if is_pydantic_schema
@@ -1382,7 +1382,7 @@ def with_structured_output(
13821382 json_schema = response_json_schema
13831383 )
13841384
1385- llm = self .bind (response_format = response_format_obj ) # type: ignore[assignment]
1385+ llm = self .bind (response_format = response_format_obj )
13861386 if is_pydantic_schema :
13871387 output_parser = PydanticOutputParser (pydantic_object = schema )
13881388 else :
You can’t perform that action at this time.
0 commit comments