Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yaml config is not escaped properly for output requirements #528

Open
antonkulaga opened this issue Apr 28, 2024 · 1 comment
Open

yaml config is not escaped properly for output requirements #528

antonkulaga opened this issue Apr 28, 2024 · 1 comment

Comments

@antonkulaga
Copy link

When I configure my output for agents and tasks I often use JSON and describe it using curly braces.

{
      'requirement_name': {
        'score': 'score value',
        'comment': 'additional comment if needed',
        'pros': 'what was good',
        'cons': 'what was bad'
      }
}

Unfortunately, your config loader uses the Python format function to load text and crashes. I have to use double brackets like {{ and }} in my yaml which is extremely annoying. I would like to be able to switch this formating behavior off for output requirements because it adds additional layer of complexity to my yaml prompts.

@antonkulaga antonkulaga changed the title yaml config is not escaped properly yaml config is not escaped properly for output requirements Apr 28, 2024
@joaomdmoura
Copy link
Owner

@GabeKoga if you don't mind taking a look at this.
Also notices that ({var}) doesn't work because of the parenthesis, so maybe we need to fix that too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants