#I'm updating my agent from 0.17 to

1 messages · Page 1 of 1 (latest)

celest tangle
#

any chance you have the dagger cloud links instead?

celest tangle
#

btw I see that's the same diff from my workspace module. it's possible I passed in git repos in the past and haven't hit that code path

gritty wagon
gritty wagon
#

and the git diff doesn't run in the container, prob because of the binding error

#

I figured out the binding problem, call needed to be as_workspace.container instead of as_container

celest tangle
#

nice! what I really meant was more like

work
  .env()
  .output("after")
  .as_workspace()
  .diff()

but that works too

gritty wagon
#

ok i see

#

i'll try that if the current approach doesn't work out

celest tangle
#

which model are you using btw?

gritty wagon
#

in this code

        summary = (
            work
            .env()
            .output("summary")
            .as_string()
        )

when I use print(f"diff: {diff}\n\nsummary: {summary}")
the diff is correctly printed but the summary is printed as an object

#

<coroutine object Binding.as_string at 0x7f582a961140>

#

is that expected? i assumed as_string would return a string

celest tangle
#

oh yeah that makes sense. Since it's a leaf node you'll need to await it

gritty wagon
celest tangle
#

Nice, I'd recommend trying gpt-4.1 too since it's better but 4o is good too

gritty wagon
#

not sure it's better, in one of the runs, its solution to my failing test was to reverse the code changes in the PR so that the test would pass 🙂

#

luckily that's the only time it did that