mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-23 16:54:56 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d240dbb3b7
commit
312f8859e3
2 changed files with 6 additions and 5 deletions
|
|
@ -135,12 +135,14 @@ class OpenAIServer(APIServer):
|
|||
return completions
|
||||
|
||||
async def _tokens_and_logprobs_completion_wrapper(
|
||||
self, **kwargs
|
||||
self, **kwargs
|
||||
) -> tuple[list, list, list, list]:
|
||||
"""
|
||||
Wrapper for the tokens and logprobs completion using the openai client.
|
||||
"""
|
||||
raise NotImplementedError("Tokens and logprobs not supported by base OpenAI API, use specific API servers.")
|
||||
raise NotImplementedError(
|
||||
"Tokens and logprobs not supported by base OpenAI API, use specific API servers."
|
||||
)
|
||||
|
||||
|
||||
def resolve_openai_configs(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue