You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I git pulled latest commits. New error started displaying when I use gemini-pro.
Error:
Exception in thread Thread-3 ():
Traceback (most recent call last):
File "C:\Users\HOME\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
File "C:\Users\HOME\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\HOME\Desktop\devika\devika.py", line 85, in
thread = Thread(target=lambda: agent.execute(message, project_name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\agents\agent.py", line 279, in execute
plan = self.planner.execute(prompt, project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\agents\planner\planner.py", line 70, in execute
response = self.llm.inference(prompt, project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\llm\llm.py", line 90, in inference
raise ValueError(f"Model {self.model_id} not supported")
ValueError: Model gemini-pro not supported
The text was updated successfully, but these errors were encountered:
erkinalp
added a commit
to erkinalp/devika
that referenced
this issue
Dec 20, 2024
- Add better error messages for API key configuration
- Add comprehensive test coverage
- Update google-generativeai version requirement
- Add proper logging for debugging
Fixesstitionai#530
Co-Authored-By: Erkin Alp Güney <[email protected]>
When I git pulled latest commits. New error started displaying when I use gemini-pro.
Error:
Exception in thread Thread-3 ():
Traceback (most recent call last):
File "C:\Users\HOME\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1045, in _bootstrap_inner
self.run()
File "C:\Users\HOME\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\HOME\Desktop\devika\devika.py", line 85, in
thread = Thread(target=lambda: agent.execute(message, project_name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\agents\agent.py", line 279, in execute
plan = self.planner.execute(prompt, project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\agents\planner\planner.py", line 70, in execute
response = self.llm.inference(prompt, project_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\HOME\Desktop\devika\src\llm\llm.py", line 90, in inference
raise ValueError(f"Model {self.model_id} not supported")
ValueError: Model gemini-pro not supported
The text was updated successfully, but these errors were encountered: