test(llm): move call tests to module mirrors - #2265
Conversation
Signed-off-by: Pouyanpi <13303554+Pouyanpi@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe change consolidates LangChain adapter integration tests, removes duplicated adapter coverage from ChangesLLM adapter test coverage
Estimated code review effort: 2 (Simple) | ~15 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Greptile SummaryMoves LLM-call and reasoning tests into module-aligned test files without changing runtime code.
|
| Filename | Overview |
|---|---|
| tests/integrations/langchain/test_langchain_llm_adapter.py | Adds relocated provider-inference and adapter-specific LLM-call tests with no behavioral regression identified. |
| tests/llm/test_call.py | Relocates core call bookkeeping tests and removes LangChain-specific cases now housed in the integration suite. |
| tests/llm/test_call_reasoning.py | Relocates reasoning-call tests and switches them to the canonical nemoguardrails.llm.call import. |
Reviews (1): Last reviewed commit: "test(llm): move call tests to module mir..." | Re-trigger Greptile
Summary
Moves llm.call tests into module-aligned files; no runtime changes.
Related: follow-up to #2241.
AI Assistance
Stack Position
Part 1 of 2.
developStack Context
Moves llm_call tests first so the NGUARD-880 fix is reviewed as a small behavioral diff.
Please review each PR against its parent branch, not directly against the root base branch, except for part 1.
pouyanpi/refactor-llm-call-testsdeveloppouyanpi/fix-nguard-880-stop-and-messagespouyanpi/refactor-llm-call-testsValidation
Summary by CodeRabbit