mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
87a855baf7
Change before_agent to render [{description, value}] context entries as
markdown sections instead of json.dumps(). This prevents double-
serialization where LLM instructions end up as escaped strings inside
JSON, making them unreadable to the model.
Falls back to JSON for non-standard context formats.