Skip to content

Commit a0c1552

Browse files
rm tool type
1 parent ceacfe9 commit a0c1552

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ async def initialize_session(self) -> None:
8585
"""Control initial session with OpenAI and register tools."""
8686
tools = [
8787
{
88+
"type": "function",
8889
"name": "handoff_to_agent",
8990
"description": "Request human intervention.",
9091
"parameters": {
@@ -99,6 +100,7 @@ async def initialize_session(self) -> None:
99100
}
100101
},
101102
{
103+
"type": "function",
102104
"name": "get_weather",
103105
"description": "Retrieves weather info for a given lat/lng.",
104106
"parameters": {

0 commit comments

Comments
 (0)