chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:58:18 +08:00
commit 6d5d58c1a9
18293 changed files with 3502153 additions and 0 deletions
@@ -0,0 +1,21 @@
"""Reusable middleware for CopilotKit showcase agents.
Context-driven middleware that reads render_mode and output_schema from
CopilotKit runtime context and adjusts agent behaviour accordingly.
"""
from .render_mode import (
get_render_mode,
get_output_schema,
apply_render_mode_prompt,
apply_render_mode,
JSONL_RENDER_INSTRUCTION,
)
__all__ = [
"get_render_mode",
"get_output_schema",
"apply_render_mode_prompt",
"apply_render_mode",
"JSONL_RENDER_INSTRUCTION",
]