Akashmj22122002 commited on
Commit
a69fe72
·
verified ·
1 Parent(s): 5ee0fbe

Update sidekick.py

Browse files
Files changed (1) hide show
  1. sidekick.py +2 -7
sidekick.py CHANGED
@@ -314,8 +314,8 @@ class Sidekick:
314
  }
315
  }
316
 
317
- # Active free model with reliable tool-calling and instruction support
318
- ACTIVE_FREE_MODEL = "meta-llama/llama-3.3-70b-instruct:free"
319
 
320
  worker_llm = ChatOpenAI(model=ACTIVE_FREE_MODEL, **openrouter_config)
321
  self.worker_llm_with_tools = worker_llm.bind_tools(self.tools)
@@ -498,8 +498,3 @@ class Sidekick:
498
  asyncio.run(self.browser.close())
499
  if self.playwright:
500
  asyncio.run(self.playwright.stop())
501
-
502
-
503
-
504
-
505
-
 
314
  }
315
  }
316
 
317
+ # Dynamic fallback router - routes to whatever free model is currently active
318
+ ACTIVE_FREE_MODEL = "openrouter/free"
319
 
320
  worker_llm = ChatOpenAI(model=ACTIVE_FREE_MODEL, **openrouter_config)
321
  self.worker_llm_with_tools = worker_llm.bind_tools(self.tools)
 
498
  asyncio.run(self.browser.close())
499
  if self.playwright:
500
  asyncio.run(self.playwright.stop())