mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-11 02:31:25 +08:00
fix: use explicit LLM user agent config
This commit is contained in:
@@ -249,7 +249,7 @@ async def llm_test(
|
||||
api_key=settings.LLM_API_KEY,
|
||||
base_url=settings.LLM_BASE_URL,
|
||||
base_url_preset=settings.LLM_BASE_URL_PRESET,
|
||||
user_agent=getattr(settings, "LLM_USER_AGENT", None),
|
||||
user_agent=settings.LLM_USER_AGENT,
|
||||
)
|
||||
|
||||
if not payload.provider:
|
||||
|
||||
Reference in New Issue
Block a user