File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ async def _acall_llm(
255
255
model = self ._get_model (system_instruction = system_instruction )
256
256
options = self ._get_call_params (input , message_history , tools )
257
257
response = await model .generate_content_async (** options )
258
- return response
258
+ return response # type: ignore[no-any-return]
259
259
260
260
def _call_llm (
261
261
self ,
@@ -267,7 +267,7 @@ def _call_llm(
267
267
model = self ._get_model (system_instruction = system_instruction )
268
268
options = self ._get_call_params (input , message_history , tools )
269
269
response = model .generate_content (** options )
270
- return response
270
+ return response # type: ignore[no-any-return]
271
271
272
272
def _to_tool_call (self , function_call : FunctionCall ) -> ToolCall :
273
273
return ToolCall (
You can’t perform that action at this time.
0 commit comments