helloparthshah commited on
Commit
36dcd43
·
1 Parent(s): fde43e7

Cleaning up models.json

Browse files
Files changed (2) hide show
  1. deleteAgents.py +1 -1
  2. src/models/models.json +1 -16
deleteAgents.py CHANGED
@@ -11,5 +11,5 @@ for agent in models:
11
  ollama.delete(agent)
12
  except Exception as e:
13
  output_assistant_response(f"Error deleting agent {agent}: {e}")
14
- with open("./models/models.json", "w", encoding="utf8") as f:
15
  f.write(json.dumps({}, indent=4))
 
11
  ollama.delete(agent)
12
  except Exception as e:
13
  output_assistant_response(f"Error deleting agent {agent}: {e}")
14
+ with open("./src/models/models.json", "w", encoding="utf8") as f:
15
  f.write(json.dumps({}, indent=4))
src/models/models.json CHANGED
@@ -1,16 +1 @@
1
- {
2
- "RecipeAgent": {
3
- "base_model": "gemini-2.5-flash-preview-04-17",
4
- "description": "Agent that extracts recipe from a website",
5
- "system_prompt": "You are a recipe extraction agent. Given a URL, you extract the title, ingredients, and instructions from the website. If you cannot find the recipe, you return an error message.",
6
- "create_cost": 20,
7
- "invoke_cost": 50
8
- },
9
- "TimeAgent": {
10
- "base_model": "gemini-2.0-flash",
11
- "description": "An agent that provides the current time.",
12
- "system_prompt": "You are a helpful agent that provides the current time in the format YYYY-MM-DD HH:MM:SS. Use the current date and time to respond to the user. Do not use any external tools or APIs.",
13
- "create_cost": 20,
14
- "invoke_cost": 50
15
- }
16
- }
 
1
+ {}