Skip to content

Commit 13a3cc9

Browse files
committed
mypy
1 parent e7be49d commit 13a3cc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/neo4j_graphrag/llm/vertexai_llm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,14 @@ def _to_tool_call(self, function_call: FunctionCall) -> ToolCall:
251251
arguments=function_call.args,
252252
)
253253

254-
def _parse_tool_response(self, response) -> ToolCallResponse:
254+
def _parse_tool_response(self, response: GenerationResponse) -> ToolCallResponse:
255255
function_calls = response.candidates[0].function_calls
256256
return ToolCallResponse(
257257
tool_calls=[self._to_tool_call(f) for f in function_calls],
258258
content=None,
259259
)
260260

261-
def _parse_content_response(self, response) -> LLMResponse:
261+
def _parse_content_response(self, response: GenerationResponse) -> LLMResponse:
262262
return LLMResponse(
263263
content=response.text,
264264
)

0 commit comments

Comments
 (0)