#This is how I would do it too ๐ I'm
1 messages ยท Page 1 of 1 (latest)
https://v3.dagger.cloud/eunomie/traces/3e1736d57b2fbb31c91cdb58a1b1a67b in case you can see it, but I haven't see anything there
Here are the logs
I think you're more looking for this no ? https://github.com/dagger/dagger/pull/9978
i don't think it's exposed yet
but, maybe exposed in the API
That's interesting, but not exactly. It can happen outside of an llm context. It just sometimes you want to ask the user some inputs, in the middle of the command, not before.
In the situation I was testing, imagine a dagger command that might (or not) create a pull request. And you want the user to write down the body of the PR.
The body can be pre-filled by an llm but that's just the cherry on the cake, and you might want to add more details, or to precise some stuff.
So the question is basically how a dagger command can prompt the user to edit a file. And I tried by calling vi from a terminal on a file, stored in a cache volume so I can then get the file content