Skip to content

Conversation

pcontact
Copy link

Description:

Overview:
This PR introduces support for Gemini models, which offer larger context windows and reduced costs. These benefits enable developers to provide more detailed instructions (prompts) to guide the agents, enhancing overall performance.

Changes Made:

  • New GeminiConfig:

    • Added a new GeminiConfig class in camel/config.py that removes the unsupported logit_bias argument. This change addresses the ticket regarding Gemini models’ incompatibility with logit_bias.
  • Updated Files:

    • Modified files to integrate Gemini model support:
      • camel/agents/chat_agent.py
      • camel/configs.py
      • camel/model_backend.py
      • camel/typing.py
      • camel/utils.py
      • run.py

Rationale:
Gemini models are chosen for their ability to handle larger context windows, allowing more extensive and precise prompt instructions. Their lower cost also makes them an attractive option, facilitating better guidance for agents without increasing expenses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants