|
@@ -328,7 +328,7 @@ class ThreadRunner:
|
|
|
)
|
|
|
print(self.token_id)
|
|
|
print(token_id)
|
|
|
- if token_id is not None and token.llm_api_key is not None:
|
|
|
+ if token_id is not None:
|
|
|
token = TokenService.get_token_by_id(self.session, token_id)
|
|
|
return LLMBackend(
|
|
|
base_url=token.llm_base_url, api_key=token.llm_api_key
|