Skip to content

test(llm): add unit tests for OllamaProvider.chat_completion template path (#4526)#4547

Merged
mrveiss merged 1 commit intoDev_new_guifrom
issue-4526
Apr 14, 2026
Merged

test(llm): add unit tests for OllamaProvider.chat_completion template path (#4526)#4547
mrveiss merged 1 commit intoDev_new_guifrom
issue-4526

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Apr 14, 2026

Closes #4526

Summary

  • 2 new tests in test_chat_template_wiring.py
  • test_ollama_chat_completion_pre_renders_when_template_set: verifies generate-endpoint call with rendered <|im_start|> prompt when chat_template in metadata
  • test_ollama_chat_completion_passes_through_without_template: verifies delegate called unmodified without template

Test Status

✅ 14/14 passing (12 pre-existing + 2 new)

@mrveiss mrveiss merged commit bf7ba5a into Dev_new_gui Apr 14, 2026
4 of 5 checks passed
@mrveiss mrveiss deleted the issue-4526 branch April 14, 2026 16:37
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

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.

1 participant