Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Sep 3, 2025

Auto-created PR for issue #484

Implements cached LLM client functionality to enable offline testing:

- Created CachedLlmClient class that extends LlmClient with caching
- Added caching for all LLM methods: query_llm, get_embedding, etc.
- Cache files stored as JSON in tests/fixtures/llm_cache/
- Added cached_ctx fixture for tests to use cached responses
- Created MockStreamParser for replaying cached streaming responses
- Added comprehensive tests for caching functionality
- Only affects test environment, production code unchanged

Cache files can be committed to version control to enable CI/CD
runs without requiring API keys or network access.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: elroy-bot <elroy-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants