mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 06:35:15 +00:00
API: Move OpenAI-compatible API from extensions/openai to modules/api
This commit is contained in:
parent
2e4232e02b
commit
bf6fbc019d
23 changed files with 51 additions and 65 deletions
|
|
@ -32,8 +32,7 @@ def load_extensions():
|
|||
if name not in available_extensions:
|
||||
continue
|
||||
|
||||
if name != 'api':
|
||||
logger.info(f'Loading the extension "{name}"')
|
||||
logger.info(f'Loading the extension "{name}"')
|
||||
|
||||
try:
|
||||
# Prefer user extension, fall back to system extension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue