You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug or a feature request. Copy and paste AI code didn't work for me (see screenshot), as the code when pasted became some sort of json (?) text (not sure how to describe it, please see screenshot). Thanks for your help!
How to reproduce?
Open any AI response (Claude Sonet 4.6) on dknet-ai.org, copy and paste to a different text file or a code content box.
@hhvu0102 I don't think you are meant to manually use that code; the agent is meant to build a workflow for you. I also think this might be related to one of the releases. @aicam / @kunwp1 any comments? I'm not too familiar with the agent on DKNET.
I wanted to review the bot's suggestions before it edits the code, because sometimes it edits to be worse... Perhaps you can enable manual approval for the bot, though I'm not sure how feasible it is.
That is a great suggestion. It is very doable and has been done in some past experiments. I'm not sure if another committer has raised a pr on this. Possibly @bobbai00 might know.
Since the text was copied from the chat bubble, my guess is the JSON was part of the agent's message itself: it looks like the payload the agent uses internally to modify the workflow (applied automatically, not meant for manual use), just surfaced as a code block, which is understandably confusing.
The review-before-apply idea from earlier in this thread seems like the right direction, and might address both halves at once: proposed edits could arrive in the chat as an Approve/Reject card showing a plain-language before and after summary of the workflow, so there's no raw JSON to interpret, and nothing lands until approved. Read-only actions (viewing operators, checking schemas) would probably still run automatically, so it's not an approval prompt every step. It would touch both the agent service and the UI, so it's likely a staged series rather than one PR.
@bobbai00, Ma77Ball mentioned past experiments in this direction; is there existing work to build on?
@hhvu0102, one check that could confirm this diagnosis: the Export button in the chat toolbar (top right) dumps the steps as JSON; the content field of the step that was copied from would tell us what that block actually is.
Activity
Ma77Ball commentedon Sep 25, 2026
@hhvu0102 I don't think you are meant to manually use that code; the agent is meant to build a workflow for you. I also think this might be related to one of the releases. @aicam / @kunwp1 any comments? I'm not too familiar with the agent on DKNET.
hhvu0102 commentedon Sep 25, 2026
I wanted to review the bot's suggestions before it edits the code, because sometimes it edits to be worse... Perhaps you can enable manual approval for the bot, though I'm not sure how feasible it is.
kunwp1 commentedon Sep 25, 2026
Question for @aicam for the public dKNET server?
Ma77Ball commentedon Sep 25, 2026
That is a great suggestion. It is very doable and has been done in some past experiments. I'm not sure if another committer has raised a pr on this. Possibly @bobbai00 might know.
CaroFernando commentedon Sep 29, 2026
Since the text was copied from the chat bubble, my guess is the JSON was part of the agent's message itself: it looks like the payload the agent uses internally to modify the workflow (applied automatically, not meant for manual use), just surfaced as a code block, which is understandably confusing.
The review-before-apply idea from earlier in this thread seems like the right direction, and might address both halves at once: proposed edits could arrive in the chat as an Approve/Reject card showing a plain-language before and after summary of the workflow, so there's no raw JSON to interpret, and nothing lands until approved. Read-only actions (viewing operators, checking schemas) would probably still run automatically, so it's not an approval prompt every step. It would touch both the agent service and the UI, so it's likely a staged series rather than one PR.
@bobbai00, Ma77Ball mentioned past experiments in this direction; is there existing work to build on?
@hhvu0102, one check that could confirm this diagnosis: the Export button in the chat toolbar (top right) dumps the steps as JSON; the content field of the step that was copied from would tell us what that block actually is.