API: Move OpenAI-compatible API from extensions/openai to modules/api

This commit is contained in:
oobabooga 2026-03-20 14:46:00 -03:00
parent 2e4232e02b
commit bf6fbc019d
23 changed files with 51 additions and 65 deletions

View file

@ -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