wzhero1 opened a new issue, #776: URL: https://github.com/apache/flink-agents/issues/776
### Search before asking - [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar. ### Description `python -m flink_agents.examples.quickstart.workflow_single_agent_example` fails because `FileSource` scans `resources/` recursively and picks up `skills/math-calculator/SKILL.md`, which is not valid `ProductReview` JSON. **Root cause:** The FileSource is configured with `f"file:///{current_dir}/resources"` (line 66 of `workflow_single_agent_example.py`), but the `resources/` directory contains both `product_review.txt` and the `skills/` subdirectory added for the skills example. FileSource reads all files recursively, so `SKILL.md` gets fed into the `ProductReview.model_validate_json()` deserializer and fails. **Suggested fix:** Either: 1. Point FileSource to the specific file `resources/product_review.txt` instead of the directory, or 2. Move skills resources to a separate directory outside `resources/`. **Found during:** Manual verification of tool_use documentation (#761, checklist item C3). ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
