mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-01 04:47:03 +08:00
refactor(types): specify LLM management endpoint results
This commit is contained in:
@@ -24,7 +24,7 @@ async def manage_provider(
|
||||
request: Request,
|
||||
payload: _SchemaManageRequest,
|
||||
_: object = Depends(get_current_active_superuser_async),
|
||||
):
|
||||
) -> _SchemaResponse[object]:
|
||||
"""
|
||||
LLM 提供商统一管理入口:前端上送 target/action/params 原样透传,
|
||||
端点不定义任何提供商特定的名称、参数或响应字段;
|
||||
@@ -67,7 +67,7 @@ async def llm_provider_auth_callback(
|
||||
state: Optional[str] = None,
|
||||
error: Optional[str] = None,
|
||||
error_description: Optional[str] = None,
|
||||
):
|
||||
) -> HTMLResponse:
|
||||
"""
|
||||
处理需要浏览器回跳的 OAuth provider。
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user