mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) remove print statements
This commit is contained in:
parent
f3dc06da04
commit
6c4816e214
1 changed files with 0 additions and 5 deletions
|
@ -1902,15 +1902,10 @@ def text_completion(*args, **kwargs):
|
|||
responses = [None for x in prompt] # init responses
|
||||
for i, request in enumerate(prompt):
|
||||
decoded_prompt = tokenizer.decode(request)
|
||||
# print("\ndecoded\n", decoded_prompt)
|
||||
# print("type decoded", type(decoded_prompt))
|
||||
new_kwargs = copy.deepcopy(kwargs)
|
||||
new_kwargs["prompt"] = decoded_prompt
|
||||
# print("making new individual request", new_kwargs)
|
||||
response = text_completion(**new_kwargs)
|
||||
# print("assigning for ", i)
|
||||
responses[i] = response["choices"][0]
|
||||
print(responses)
|
||||
formatted_response_obj = {
|
||||
"id": response["id"],
|
||||
"object": "text_completion",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue