mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-25 05:54:53 +00:00
test(proxy): cover the list-valued text completion prompt at the hook layer
This commit is contained in:
parent
a9cd0d2672
commit
cf284b7ebd
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ async def test_acompletion_call_type_allows_safe_prompt():
|
|||
("atranscription", {"model": "test-model", "prompt": INJECTION_ATTEMPT}),
|
||||
("transcription", {"model": "test-model", "prompt": INJECTION_ATTEMPT}),
|
||||
("atext_completion", {"model": "test-model", "prompt": INJECTION_ATTEMPT}),
|
||||
("atext_completion", {"model": "test-model", "prompt": [INJECTION_ATTEMPT]}),
|
||||
("amoderation", {"model": "test-model", "input": INJECTION_ATTEMPT}),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue