server
: rm bad debug code
This commit is contained in:
parent
27cd07a056
commit
6610ecf965
1 changed files with 0 additions and 1 deletions
|
@ -1053,7 +1053,6 @@ async def oai_chat_completions(user_prompt,
|
||||||
print(f"Sending OAI Chat completions request: {user_prompt}")
|
print(f"Sending OAI Chat completions request: {user_prompt}")
|
||||||
# openai client always expects an api key
|
# openai client always expects an api key
|
||||||
user_api_key = user_api_key if user_api_key is not None else 'nope'
|
user_api_key = user_api_key if user_api_key is not None else 'nope'
|
||||||
assert isinstance(seed, int), f'seed: {seed}'
|
|
||||||
seed = seed if seed is not None else 42
|
seed = seed if seed is not None else 42
|
||||||
|
|
||||||
enable_streaming = enable_streaming if enable_streaming is not None else False
|
enable_streaming = enable_streaming if enable_streaming is not None else False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue