wenjin272 opened a new pull request, #810:
URL: https://github.com/apache/flink-agents/pull/810
<!--
* Thank you very much for contributing to Flink Agents.
* Please add the relevant components in the PR title. E.g., [api],
[runtime], [java], [python], [hotfix], etc.
-->
<!-- Please link the PR to the relevant issue(s). Hotfix doesn't need this.
-->
Linked issue: #781
### Purpose of change
SafeFormatter (Python) and Prompt.formatMessages (Java) only substitute
{key}; they do not collapse {{ }} to { }. Doubled braces reach the LLM
verbatim, which may copy them into replies and break downstream json.loads.
- Document the actual brace rules; drop the wrong "double to escape" note.
- Switch all JSON examples in docs and the quickstart example to single
braces. Cross-reference from yaml.md.
### Tests
ut & e2e
### API
no
### Documentation
<!-- Do not remove this section. Check the proper box only. -->
- [ ] `doc-needed` <!-- Your PR changes impact docs -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-included` <!-- Your PR already contains the necessary
documentation updates -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]