Files
Timmy-time-dashboard/tests/test_smart_read_file.py
Kimi Agent 547b502718
Some checks failed
Tests / lint (pull_request) Successful in 4s
Tests / test (pull_request) Failing after 1m14s
fix: smart_read_file accepts path= kwarg from LLMs (#113)
LLMs naturally call read_file(path=...) but the wrapper only accepted
file_name=. Pydantic strict validation rejected the mismatch. Now accepts
both file_name and path kwargs, with clear error on missing both.

Added 6 tests covering: positional args, path kwarg, no-args error,
directory listing, empty dir, hidden file filtering.
2026-03-14 20:40:19 -04:00

4.5 KiB