Automatic mode for workspace (Agent mode default)#5143
Open
timothycarambat wants to merge 25 commits intomasterfrom
Open
Automatic mode for workspace (Agent mode default)#5143timothycarambat wants to merge 25 commits intomasterfrom
timothycarambat wants to merge 25 commits intomasterfrom
Conversation
Introduces a new automatic chat mode (now the default) that automatically invokes tools when the provider supports native tool calling. Conditionally shows/hides the @agent command based on whether native tooling is available. - Add supportsNativeToolCalling() to AI providers (OpenAI, Anthropic, Azure always support; others opt-in via ENV) - Update all locale translations with new mode descriptions - Enhance translator to preserve Trans component tags - Remove deprecated ability tags UI
…m into automatic-mode
This was referenced Mar 4, 2026
timothycarambat
commented
Mar 5, 2026
server/models/workspace.js
Outdated
| const workspace = await prisma.workspaces.create({ | ||
| data: { | ||
| name: this.validations.name(name), | ||
| chatMode: "automatic", |
Member
Author
There was a problem hiding this comment.
Do this to prevent full drop-table migration
timothycarambat
commented
Mar 5, 2026
Comment on lines
+53
to
+56
| type: "image_url", | ||
| image_url: { | ||
| url: attachment.contentString, | ||
| }, |
Member
Author
There was a problem hiding this comment.
Always assuming OAI format since that is what 90% of the providers use
timothycarambat
commented
Mar 5, 2026
Comment on lines
+89
to
+91
| supportsNativeToolCalling() { | ||
| return false; | ||
| } |
Member
Author
There was a problem hiding this comment.
This should always have a per-provider override
* translations for automatic-mode * rebase * translations * lint * fix dead translations
Member
Author
|
Blocked by #5074 since will have massive merge confs once merged. |
…m into automatic-mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Type
Relevant Issues
closes #3483
resolves #4932
resolves #4509
resolves #5068
Description
Introduces a new automatic chat mode (now the default) that automatically invokes tools when the provider supports native tool calling.
Also supports automatic injection of attached documents and images to providers.
Visuals (if applicable)
Additional Information
Developer Validations
yarn lintfrom the root of the repo & committed changes