You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "hhvu0102 (via GitHub)" <gi...@apache.org> on 2026/09/25 21:13:19 UTC

[I] How to copy code from AI response? [texera]

hhvu0102 opened a new issue, #8682:
URL: https://github.com/apache/texera/issues/8682

   ### What happened?
   
   Hi team, 
   
   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!
   
   <img width="2766" height="1648" alt="Image" src="https://github.com/user-attachments/assets/314b15ce-c57f-4561-8a30-174b9ebc248d" />
   
   ### 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.
   
   ### Version/Branch
   
   1.4.0-incubating-SNAPSHOT (main)
   
   ### Commit Hash (Optional)
   
   _No response_
   
   ### What browsers are you seeing the problem on?
   
   _No response_
   
   ### Relevant log output
   
   ```shell
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to copy code from AI response? [texera]

Posted by "hhvu0102 (via GitHub)" <gi...@apache.org>.
hhvu0102 commented on issue #8682:
URL: https://github.com/apache/texera/issues/8682#issuecomment-5840287792

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to copy code from AI response? [texera]

Posted by "CaroFernando (via GitHub)" <gi...@apache.org>.
CaroFernando commented on issue #8682:
URL: https://github.com/apache/texera/issues/8682#issuecomment-5881945089

   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to copy code from AI response? [texera]

Posted by "kunwp1 (via GitHub)" <gi...@apache.org>.
kunwp1 commented on issue #8682:
URL: https://github.com/apache/texera/issues/8682#issuecomment-5840309075

   Question for @aicam for the public dKNET server?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to copy code from AI response? [texera]

Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #8682:
URL: https://github.com/apache/texera/issues/8682#issuecomment-5840178326

   @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. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] How to copy code from AI response? [texera]

Posted by "Ma77Ball (via GitHub)" <gi...@apache.org>.
Ma77Ball commented on issue #8682:
URL: https://github.com/apache/texera/issues/8682#issuecomment-5840317418

   That is a great suggestion! It is very doable and has been done in some past experiments. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org