Files
Pygentic-AI/src
Francis Secada 6e978b9de9 fix: resolve remaining pydantic-ai 0.4.x breakages and startup errors
- result_type -> output_type on Agent (core.py)
- result_validator -> output_validator decorator (tools.py)
- BASE_DIR was operating on the string literal "__name__" instead of
  __file__; all paths were relative to CWD and only worked in Docker
  because the entrypoint cd's into src/ first (consts.py)
- url_for('static', filename=...) -> path=... to match Starlette's
  StaticFiles param name; every other template already used path= (home.html)

Verified locally: all routes and static assets return 200.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-02 23:09:05 -05:00
..
2025-01-16 11:33:26 -05:00