meta reference inference fixes (#797)

Miscellaneous fixes for meta reference inference

Tests for log probs dont pass because meta reference does not support
top_k > 1
This commit is contained in:
Ashwin Bharambe 2025-01-16 18:17:46 -08:00 committed by GitHub
parent cb41848a2a
commit 9f14382d82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 12 deletions

View file

@ -229,7 +229,6 @@ def test_text_chat_completion_with_tool_calling_and_non_streaming(
# response to be a tool call
assert response.completion_message.content == ""
assert response.completion_message.role == "assistant"
assert response.completion_message.stop_reason == "end_of_turn"
assert len(response.completion_message.tool_calls) == 1
assert response.completion_message.tool_calls[0].tool_name == "get_weather"