Repository navigation
Description
linked issues: #766
Search before asking
- I searched in the issues and found nothing similar.
Description
Found during workflow agent quickstart doc verification.
Collection of issues for
docs/content/docs/get-started/quickstart/workflow_agent.md and the
associated example code:
-
Python
process_inputcode snippet differs from source (doc line 131-136 vsreview_analysis_agent.pyline 91) — the doc shows:input_event = InputEvent.from_event(event) input: ProductReview = input_event.input
but the actual source uses:
input = ProductReview.model_validate(InputEvent.from_event(event).input)
The doc version omits the
model_validate()call, which is semantically different. -
Python env-setup comment wrongly mentions
ProductSuggestionAgent(doc line 51-52) — the "Prepare Agents Execution Environment" snippet's comment says the connection is "used by the ReviewAnalysisAgent and ProductSuggestionAgent", but the section is introducing the general environment setup and the actual single-agent source comment only mentionsReviewAnalysisAgent. -
Python examples fail at runtime —
resources/directory contains non-JSON files (product bug) —workflow_single_agent_example.pyusesFileSourceto read the entireresources/directory. However,resources/skills/math-calculator/SKILL.md(bundled for the Skills Agent quickstart) also lives there.FileSourcerecurses into the subdirectory and tries to parseSKILL.mdas JSON, producing:ValidationError: 1 validation error for ProductReview Invalid JSON: invalid number at line 1 column 2 [type=json_invalid, input_value='---', input_type=str]This issue seems to be solved by: #782
How to reproduce
Version and environment
Flink Agents 0.3.0 (main).
Are you willing to submit a PR?
- I'm willing to submit a PR!
Activity
Ryan-Nightwish commentedon Jun 8, 2026
Correction on item 2: the
ProductSuggestionAgentcomment is actually correct — the quickstart covers both the single-agent and multi-agent examples, andWorkflowMultipleAgentExampledoes useProductSuggestionAgent. The change was reverted in the PR. Only item 1 remains valid.