Skip to content

Improve Stability#136

Open
Wakeful-Cloud wants to merge 2 commits intoethz-spylab:mainfrom
Wakeful-Cloud:main
Open

Improve Stability#136
Wakeful-Cloud wants to merge 2 commits intoethz-spylab:mainfrom
Wakeful-Cloud:main

Conversation

@Wakeful-Cloud
Copy link

This PR fixes two bugs that caused AgentDojo to consistently crash (when running with Ollama + Llama 4) and adds unit tests to ensure the bugs remain fixed.

Copy link
Member

@dedeswim dedeswim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much! Please see my comment

raise ASTParsingError(f"The keyword arguments should be strings. Got {keyword.arg}")
args[keyword.arg] = parse_arg_value(keyword.value)
arg = parse_arg_value(keyword.value)
args[keyword.arg] = "..." if arg == Ellipsis else arg
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why would the model call the tool with ...? Could you please add a comment that explains this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants