Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add Gemini newest experimental models (close #7121) #8621

Merged
merged 8 commits into from
Sep 22, 2024

Conversation

CXwudi
Copy link
Contributor

@CXwudi CXwudi commented Sep 21, 2024

Checklist:

Important

Please review the checklist below before submitting your pull request.

  • Please open an issue before creating a PR or link to an existing issue
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas (no code changes)
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods (no code changes)

Description

Close #7121, added new experimental models from Gemini according to documentation. Specifically, the following models are added:

  1. gemini-1.5-pro-exp-0827
  2. gemini-1.5-pro-exp-0801
  3. gemini-1.5-flash-exp-0827
  4. gemini-1.5-flash-8b-exp-0827

Also, the max context size for gemini-1.5-pro-latest has been updated to 2M.

This PR doesn't have any code changes, but dependencies are updated to access the newest models

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Setup the local environmental via devcontainer and try running some LLM query in Chatbot, Agent and Workflow mode

Untitled picture
Screenshot 2024-09-21 163106
Screenshot 2024-09-21 163649
Screenshot 2024-09-21 165809

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. dependencies Pull requests that update a dependency file ⚙️ feat:model-runtime labels Sep 21, 2024
web/yarn.lock Outdated Show resolved Hide resolved
crazywoola
crazywoola previously approved these changes Sep 22, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 22, 2024
@crazywoola
Copy link
Member

It seems you need to sync the deps again.

@CXwudi
Copy link
Contributor Author

CXwudi commented Sep 22, 2024

@crazywoola Yeap, I just did

@CXwudi CXwudi requested a review from crazywoola September 22, 2024 03:12
@crazywoola crazywoola merged commit 97895ec into langgenius:main Sep 22, 2024
6 checks passed
@CXwudi CXwudi deleted the chore/gemini-model-update branch September 22, 2024 05:39
ZhouhaoJiang added a commit that referenced this pull request Sep 23, 2024
* main: (64 commits)
  chore: Enable Japanese descriptions for Tools (#8646)
  Make WORKFLOW_* configurable as environment variables. (#8644)
  feat: add deepseek-v2.5 for model provider siliconflow (#8639)
  docs: fix predefined_model_scale_out.md redirect error (#8633)
  feat: add qwen2.5 for model provider siliconflow (#8630)
  fix: send message error when chatting with opening statement (#8627)
  fix: llm_generator.py JSONDecodeError (#8504)
  fix: commands.py (#8483)
  fix: redundant check for available_document_count (#8491)
  chore: enhance configuration descriptions (#8624)
  chore: add Gemini newest experimental models (close #7121) (#8621)
  feat: support o1 series models for openrouter (#8358)
  fix: form input add tabIndex (#8478)
  Add model parameter translation (#8509)
  feat(tools/cogview):  Updated cogview tool to support cogview-3 and the latest cogview-3-plus (#8382)
  Add Fireworks AI as new model provider (#8428)
  feat:use xinference tts stream mode (#8616)
  docs: Add Japanese documentation for tools (#8469)
  feat: regenerate in `Chat`, `agent` and `Chatflow` app (#7661)
  feat: update pyproject.toml (#8368)
  ...
@CXwudi CXwudi mentioned this pull request Sep 25, 2024
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ⚙️ feat:model-runtime lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Gemini Pro Experimental
2 participants