Skip to content

Commit ceacfe9

Browse files
rm tool type
1 parent 63c78c9 commit ceacfe9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

main.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -85,26 +85,6 @@ async def initialize_session(self) -> None:
8585
"""Control initial session with OpenAI and register tools."""
8686
tools = [
8787
{
88-
"type": "tool",
89-
"name": "set_memory",
90-
"description": "Saves important data about the user into memory.",
91-
"parameters": {
92-
"type": "object",
93-
"properties": {
94-
"key": {
95-
"type": "string",
96-
"description": "The key of the memory value."
97-
},
98-
"value": {
99-
"type": "string",
100-
"description": "The value to store."
101-
}
102-
},
103-
"required": ["key", "value"]
104-
}
105-
},
106-
{
107-
"type": "tool",
10888
"name": "handoff_to_agent",
10989
"description": "Request human intervention.",
11090
"parameters": {
@@ -119,7 +99,6 @@ async def initialize_session(self) -> None:
11999
}
120100
},
121101
{
122-
"type": "tool",
123102
"name": "get_weather",
124103
"description": "Retrieves weather info for a given lat/lng.",
125104
"parameters": {

0 commit comments

Comments
 (0)