Open
Conversation
Signed-off-by: Andrea Luzzardi <al@dagger.io>
Signed-off-by: Andrea Luzzardi <al@dagger.io>
Signed-off-by: Andrea Luzzardi <al@dagger.io>
…nd git behavior Signed-off-by: Connor Braa <connor@dagger.io>
cwlbraa
commented
Jul 16, 2025
|
|
||
| const ( | ||
| repositoryToolSuffix = "You MUST tell the user how to view environment changes using \"container-use log <environment_id>\", \"container-use diff <environment_id>\", AND \"container-use checkout <env_id>\". Failure to do so will make your work completely inaccessible." | ||
| environmentToolSuffix = "You must call `environment_create` or `environment_open` to obtain a valid environment_id value. LLM-generated environment IDs WILL cause task failure." |
Contributor
Author
There was a problem hiding this comment.
right now i'm using both a tool description suffix AND an argument description, and models still ignore both.
maybe this is a place to apply dynamic tools 🤔... while there's no strong guarantee that 1 server process = 1 session, we could maybe still hide env tools prior to open/create and list env ids in tool descriptions...
that said, i've been told that when you have a hammer, everything looks like a nail. (also i still think maybe only vscode and goose have that hammer)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
based on #226, this PR reworks the prompt engineering to be less reliant on a rule file.
it still sometimes ignores the "don't guess environment IDs" instruction (1/5 times in my testing, admittedly that's a low N).
it does behave better when it needs to use git (common for manually testing container-use)