Skip to content

gemini-pro not supported #530

@MKPTechnicals

Description

@MKPTechnicals

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

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions