Skip to content

chore: remove streamContent configuration from AiAgent and related fi…#72

Open
me146 wants to merge 3 commits into1.xfrom
meet/1.x/#43-remove-stream-content-config
Open

chore: remove streamContent configuration from AiAgent and related fi…#72
me146 wants to merge 3 commits into1.xfrom
meet/1.x/#43-remove-stream-content-config

Conversation

@me146
Copy link
Copy Markdown
Collaborator

@me146 me146 commented Dec 20, 2024

Remove streaming Content selection, as we always gonna stream content.

@me146 me146 linked an issue Dec 20, 2024 that may be closed by this pull request
24 tasks
@me146 me146 requested a review from jjroelofs December 20, 2024 12:38
Copy link
Copy Markdown
Contributor

@jjroelofs jjroelofs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more streamContent cleanup needed

Cleaning out streamContent variable is incomplete:

image

Remove stream setting elsewhere

Remove variable streaming config from functions downstream. It's just a source of bugs and streaming is a core UX feature of genAI. The fact the the docs of this param say streaming is disabled by default is a bug in itself and supports the idea that this param can do more harm than good.

https://github.com/dxpr/ckeditor5-ai-agent/blob/1.x/src/util/htmlparser.ts#L74

@jjroelofs
Copy link
Copy Markdown
Contributor

this config might be useful after all, since o1 reasoning models dont support streaming on the API!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove streamContent config

2 participants