mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
fix: use resolved authType to initialize ACP agent
This commit is contained in:
parent
7177b41120
commit
2c9399f8e0
9 changed files with 75 additions and 68 deletions
|
|
@ -434,7 +434,7 @@ export const AppContainer = (props: AppContainerProps) => {
|
|||
// Check for enforced auth type mismatch
|
||||
useEffect(() => {
|
||||
// Check for initialization error first
|
||||
const currentAuthType = config.modelsConfig.getCurrentAuthType();
|
||||
const currentAuthType = config.getModelsConfig().getCurrentAuthType();
|
||||
|
||||
if (
|
||||
settings.merged.security?.auth?.enforcedType &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue