Rename ipython to tool

This commit is contained in:
Ashwin Bharambe 2025-01-13 18:55:05 -08:00
parent fdcc74fda2
commit 43e3f075b9
3 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ class SystemMessage(BaseModel):
@json_schema_type
class ToolResponseMessage(BaseModel):
role: Literal["ipython"] = "ipython"
role: Literal["tool"] = "tool"
# it was nice to re-use the ToolResponse type, but having all messages
# have a `content` type makes things nicer too
call_id: str