-
Notifications
You must be signed in to change notification settings - Fork 300
fix: update openai sane-default parameter values for custom models #1847
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
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 |
|---|---|---|
|
|
@@ -1106,7 +1106,7 @@ describe("OpenAiHandler", () => { | |
| expect(model.id).toBe(mockOptions.openAiModelId) | ||
| expect(model.info).toBeDefined() | ||
| expect(model.info.contextWindow).toBe(128_000) | ||
| expect(model.info.supportsImages).toBe(true) | ||
| expect(model.info.supportsImages).toBe(false) | ||
|
Contributor
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. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Preserve image support for fallback custom models. Line 1109 changes the fallback expectation from Keep the prior image behavior or provide an explicit opt-in for custom models before locking in this expectation. 🤖 Prompt for AI Agents |
||
| }) | ||
|
|
||
| it("should handle undefined model ID", () => { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.