Skip to content

Conversation

@WillieRuemmele
Copy link
Member

What does this PR do?

What issues does this PR fix or reference?

@W-20129538@

Functionality Before

would deploy invalid .agent files

Functionality After

now performs validation (compilation) on all .agent files before deploying

 ➜  pd project deploy start -m AiAuthoringBundle:Willie
Error (AgentCompilationError): 
Willie.agent: Unexpected 'reasoning_instructions' 14:3
Willie.agent: token recognition error at: ''' 16:55
Willie.agent: token recognition error at: ''' 18:48
Willie.agent: token recognition error at: ''' 33:76

@EstebanRomero84
Copy link
Contributor

EstebanRomero84 commented Nov 17, 2025

The deployment doesn't work. We need to refresh the connection to get a new access token after the call to compile API.
image

@EstebanRomero84
Copy link
Contributor

QA notes:

  • 🟢 Deploy valid agentScript.
  • 🟢 Output compile errors for a single agentScript correctly.
Screenshot 2025-11-17 at 12 56 40 PM - 🟢 Output compile errors for multiple agentScripts correctly. Screenshot 2025-11-17 at 12 57 42 PM - 🟢 Handle deployments of multiple metadata types. Screenshot 2025-11-17 at 1 07 35 PM Screenshot 2025-11-17 at 12 58 08 PM

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

Successfully merging this pull request may close these issues.

4 participants