This commit is contained in:
Adil Hafeez 2024-11-06 16:07:32 -08:00
parent 60e442b168
commit 23ed25342a
2 changed files with 9 additions and 8 deletions

View file

@ -34,14 +34,14 @@ impl Context for StreamContext {
on_http_request_body prompt received get embeddings zeroshot intent
arch guard
arch guard
continue from zeroshot intent

View file

@ -134,6 +134,7 @@ def test_prompt_gateway_param_gathering(stream):
assert len(choices) > 0
tool_calls = choices[0].get("delta", {}).get("tool_calls", [])
assert len(tool_calls) == 0
# chunk would have "Could you provide the following details days"
else:
response_json = response.json()
assert response_json.get("model").startswith("Arch")