mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-07-01 18:13:03 +08:00
feat: refine Hermes settings UX
This commit is contained in:
@@ -29,7 +29,7 @@ export class HermesProviderAuth implements IProviderAuth {
|
||||
authenticated: false,
|
||||
email: null,
|
||||
method: null,
|
||||
error: 'Hermes ACP is not installed',
|
||||
error: 'Hermes is not installed',
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,8 +39,8 @@ export class HermesProviderAuth implements IProviderAuth {
|
||||
installed,
|
||||
authenticated: credentials.authenticated,
|
||||
email: credentials.email,
|
||||
method: credentials.method,
|
||||
error: credentials.authenticated ? undefined : 'Hermes credentials were not found',
|
||||
method: credentials.method ?? 'managed_by_hermes',
|
||||
error: undefined,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ export const HERMES_FALLBACK_MODELS: ProviderModelsDefinition = {
|
||||
OPTIONS: [
|
||||
{
|
||||
value: HERMES_CONFIGURED_MODEL,
|
||||
label: 'Configured in Hermes',
|
||||
description: 'Uses the provider and model selected with `hermes model`.',
|
||||
label: 'Use Hermes default',
|
||||
description: 'Uses the provider and model selected in Hermes.',
|
||||
},
|
||||
],
|
||||
DEFAULT: HERMES_CONFIGURED_MODEL,
|
||||
@@ -105,8 +105,8 @@ export class HermesProviderModels implements IProviderModels {
|
||||
OPTIONS: [
|
||||
{
|
||||
value: HERMES_CONFIGURED_MODEL,
|
||||
label: 'Configured in Hermes',
|
||||
description: `Current Hermes model: ${activeModel}`,
|
||||
label: 'Use Hermes default',
|
||||
description: `Uses the provider and model selected in Hermes. Current config: ${activeModel}`,
|
||||
},
|
||||
],
|
||||
DEFAULT: HERMES_CONFIGURED_MODEL,
|
||||
|
||||
Reference in New Issue
Block a user