fernandoperes commited on
Commit
1dc1890
·
verified ·
1 Parent(s): 5a5368f

Upload agent

Browse files
Files changed (2) hide show
  1. agent.json +2 -2
  2. tools/catering_service_tool.py +1 -1
agent.json CHANGED
@@ -11,8 +11,8 @@
11
  "model": {
12
  "class": "InferenceClientModel",
13
  "data": {
14
- "last_input_token_count": 4526,
15
- "last_output_token_count": 178,
16
  "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct"
17
  }
18
  },
 
11
  "model": {
12
  "class": "InferenceClientModel",
13
  "data": {
14
+ "last_input_token_count": 9962,
15
+ "last_output_token_count": 64,
16
  "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct"
17
  }
18
  },
tools/catering_service_tool.py CHANGED
@@ -22,6 +22,6 @@ class SimpleTool(Tool):
22
  }
23
 
24
  # Find the highest rated catering service (simulating search query filtering)
25
- best_service = max(services, key=services.get)
26
 
27
  return best_service
 
22
  }
23
 
24
  # Find the highest rated catering service (simulating search query filtering)
25
+ best_service = max(services, key=lambda k: services[k])
26
 
27
  return best_service