hf_text-generation-inference/integration-tests
drbh 06c3d4b1ec
feat: accept list as prompt and use first string (#1702)
This PR allows the `CompletionRequest.prompt` to be sent as a string or
array of strings. When an array is sent the first value will be used if
it's a string; otherwise the according error will be thrown

Fixes:
https://github.com/huggingface/text-generation-inference/issues/1690
Similar to: https://github.com/vllm-project/vllm/pull/323/files
2024-04-17 10:41:12 +02:00
..
images Repair idefics integration tests. (#1663) 2024-03-21 22:21:03 +01:00
models feat: accept list as prompt and use first string (#1702) 2024-04-17 10:41:12 +02:00
conftest.py feat: accept list as prompt and use first string (#1702) 2024-04-17 10:41:12 +02:00
poetry.lock fix: improve tool type, bump pydantic and outlines (#1650) 2024-03-21 12:45:56 -04:00
pyproject.toml v2.0.0 (#1736) 2024-04-12 18:38:34 +02:00
pytest.ini chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
requirements.txt fix: improve tool type, bump pydantic and outlines (#1650) 2024-03-21 12:45:56 -04:00