priyanahata commented on issue #9202: URL: https://github.com/apache/netbeans/issues/9202#issuecomment-4466588715
@m13v, no, i don't agree, being able to execute LLM generated code in your host application (like jshell) its a game changer, it covers the gap between what you think is going to happen when you code and what happens at runtime. Its like having the LLM being able to debug and introspect the code it writes at runtime, in the java process you are deploying to. And no, sessions don't have to restart when you shut down the IDE, you can save your session on every turn, you just have to make your session easily serializable. If you keep your agent on a separate process, how will your agent select a file in your projects view of netbeans? Having your agent and netbeans running on two separate processess is only going to add "transport", i can give you a demo if you want of what an agent can do when running inside your application's jvm. Like it can use reflection, modify your application's look and feel, like what you would do with jshell or visualvm, but the agent can not just call mbea ns but simply execute any java code the agent wants inside the runtime of your application. Put it this way, would you rather have an agent go through Chrome Dev Tools to connect to you browser or would you rather have the agent running inside the chrome process itself? By having it in another process, the bottle neck is always going to be the api that connects both processess -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
