mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 09:16:19 +00:00
🔧 chore(openaicaller.py): remove unnecessary blank line to improve code readability
This commit is contained in:
@@ -89,6 +89,7 @@ class openai_caller:
|
|||||||
|
|
||||||
async def nothing(x):
|
async def nothing(x):
|
||||||
return x
|
return x
|
||||||
|
|
||||||
error_call = nothing
|
error_call = nothing
|
||||||
if kwargs.get("model", "") in chat_models:
|
if kwargs.get("model", "") in chat_models:
|
||||||
return await self.chat_generate(error_call, **kwargs)
|
return await self.chat_generate(error_call, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user