sarath2803 commited on
Commit
1ad7b95
·
verified ·
1 Parent(s): 089fe85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -182,9 +182,9 @@ class BasicAgent:
182
  """
183
 
184
  model = InferenceClientModel(
185
- model_id="deepseek-ai/deepseek-coder-6.7b-instruct", # Example OpenRouter model ID
186
- token=token, # Set your Hugging Face token in the environment
187
- provider="auto" # Use openrouter as the provider
188
  )
189
  self.agent= CodeAgent(
190
  tools = [add, subtract, multiply, divide, web_search, image_generation_tool,youtube_transcript_tool, wikipedia_tool],
 
182
  """
183
 
184
  model = InferenceClientModel(
185
+ model_id="deepseek/deepseek-r1-0528-qwen3-8b:free", # Correct OpenRouter model ID
186
+ token=os.environ["OPENROUTER_API_KEY"], # Your OpenRouter API key
187
+ provider="openrouter" # Explicitly set to openrouter
188
  )
189
  self.agent= CodeAgent(
190
  tools = [add, subtract, multiply, divide, web_search, image_generation_tool,youtube_transcript_tool, wikipedia_tool],