feat: introduce support for the new Suggestion AI Action type#2699
Open
Bohdan Hutsol (bgutsol) wants to merge 5 commits intomasterfrom
Open
feat: introduce support for the new Suggestion AI Action type#2699Bohdan Hutsol (bgutsol) wants to merge 5 commits intomasterfrom
Bohdan Hutsol (bgutsol) wants to merge 5 commits intomasterfrom
Conversation
…locks - Added 'Suggestion' to AiActionOutputFormat. - Introduced AiActionMarkdownBlock and AiActionSuggestionBlock types. - Updated InvocationResult to support an array of AiActionSuggestionContentBlock.
…ion configurations - Added AiActionScope with 'Entry' and 'EntryField' options. - Introduced AiActionOutputType with 'Generation' and 'Suggestion' types. - Updated Configuration type to include optional scope and outputType properties.
cemreyuksel
reviewed
Jul 17, 2025
| export type AiActionConfiguration = { | ||
| modelType: string | ||
| modelTemperature: number | ||
| scope?: AiActionScopeType |
Contributor
There was a problem hiding this comment.
We might want to make these parameters required once we release. We can discuss.
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.
Enhanced AI Action type system - Renamed core types with
AiActionprefix for better clarity and consistency (VariableType→AiActionVariableType,Configuration→AiActionConfiguration, etc.)Added scope and output type enums - Introduced
AiActionScope(Entry/EntryField) andAiActionOutputType(Generation/Suggestion) to support new Suggestion AI Action typeExpanded suggestion support - Added new content block types (
AiActionMarkdownBlock,AiActionSuggestionBlock) and enhanced invocation results to support structured suggestion content that comes from the Suggestion AI Action type