this template save my day.

#31
by rosspanda0 - opened

I keep getting following error from some coding agent today, this template save my day:
  ⎿  API Error: 400 Unable to generate parser for this template. Automatic parser generation failed:
     ------------
     While executing CallExpression at line 85, column 32 in source:
     ...first %}↵            {{- raise_exception('System message must be at the beginnin...
                                                ^
     Error: Jinja Exception: System message must be at the beginning.

10.25.669.755 W srv    operator(): got exception: {"error":{"code":400,"message":"Unable to generate parser for this template. Automatic parser generation failed: \n------------\nWhile executing CallExpression at line 85, column 32 in source:\n...first %}↵            {{- raise_exception('System message must be at the beginnin...\n                                           ^\nError: Jinja Exception: System message must be at the beginning.","type":"invalid_request_error"}}

Thanks for the feedback! Really glad it fixed the system message ordering issue for your setup. I'll close this thread out.

froggeric changed discussion status to closed

Sign up or log in to comment