-
Notifications
You must be signed in to change notification settings - Fork 59.9k
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
add gemini-exp-1206, gemini-2.0-flash-thinking-exp-1219 #5958
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,6 +265,7 @@ export function isVisionModel(model: string) { | |
"learnlm", | ||
"qwen-vl", | ||
"qwen2-vl", | ||
"glm-4v", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π‘ Codebase verification GLM-4V model is not properly integrated in the codebase The codebase shows inconsistencies in GLM-4V support:
π Analysis chainLGTM! Verify GLM-4V vision capabilities. The addition of "glm-4v" to the vision keywords list is consistent with the model's capabilities. Let's verify the GLM-4V model's vision capabilities and its usage in the codebase: π Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for GLM-4V model usage and configuration
rg -A 5 "glm-4v" --type ts --type tsx
Length of output: 65 Script: #!/bin/bash
# Search for GLM-4V model usage and configuration with correct file type
rg -A 5 "glm-4v"
# Also check for any configuration or constant files
fd -e ts -e js "config|const" --exec rg -l "glm"
# Check for vision-related functionality
rg -i "vision.*model|image.*model"
Length of output: 2209 Script: #!/bin/bash
# Check the vision keywords and GLM model configuration
cat app/constant.ts
# Check the vision model implementation
cat app/utils.ts | grep -A 10 "isVisionModel"
# Check GLM-4V specific handling
cat app/client/platforms/openai.ts | grep -A 10 "glm-4v"
Length of output: 15225 |
||
]; | ||
const isGpt4Turbo = | ||
model.includes("gpt-4-turbo") && !model.includes("preview"); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add knowledge cutoff dates for new Gemini models
The new Gemini models have been added, but their knowledge cutoff dates are not defined in the
KnowledgeCutOffDate
object. This could lead to incorrect cutoff date information being displayed to users.Add the following entries to the
KnowledgeCutOffDate
object: