Coverage for src/lite_agent/types/tool_calls.py: 100%

10 statements  

« prev     ^ index     » next       coverage.py v7.10.5, created at 2025-08-25 22:58 +0900

1from typing import Literal 

2 

3from pydantic import BaseModel 

4 

5 

6class ToolCallFunction(BaseModel): 

7 name: str 

8 arguments: str | None = None 

9 

10 

11class ToolCall(BaseModel): 

12 type: Literal["function"] 

13 function: ToolCallFunction 

14 id: str 

15 index: int