#This is how I would do it too ๐Ÿ™‚ I'm

1 messages ยท Page 1 of 1 (latest)

tribal charm
#

Here are the logs

indigo quiver
#

but, maybe exposed in the API

tribal charm
#

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