Skip to content

Commit de9dd53

Browse files
committed
fix(arkiect): fix inner tool
1 parent 701edfc commit de9dd53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arkitect/core/component/tool/builtin_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async def link_reader(url_list: list[str]) -> dict:
3434
}
3535

3636
response = await client.post(path="/tools/execute", body=body, cast_to=BaseModel)
37-
return response
37+
return response.model_dump()
3838

3939

4040
async def calculator(input: str) -> dict:
@@ -53,4 +53,4 @@ async def calculator(input: str) -> dict:
5353
}
5454

5555
response = await client.post(path="/tools/execute", body=body, cast_to=BaseModel)
56-
return response
56+
return response.model_dump()

0 commit comments

Comments
 (0)