feat(hermes): add provider routing config

This commit is contained in:
晴天
2026-05-26 03:00:31 +08:00
parent fb7ae3f15c
commit ac2282591d
8 changed files with 787 additions and 28 deletions

View File

@@ -517,6 +517,8 @@ export const api = {
hermesPromptCachingConfigSave: (form) => invoke('hermes_prompt_caching_config_save', { form }),
hermesOpenrouterCacheConfigRead: () => invoke('hermes_openrouter_cache_config_read'),
hermesOpenrouterCacheConfigSave: (form) => invoke('hermes_openrouter_cache_config_save', { form }),
hermesProviderRoutingConfigRead: () => invoke('hermes_provider_routing_config_read'),
hermesProviderRoutingConfigSave: (form) => invoke('hermes_provider_routing_config_save', { form }),
hermesAuxiliaryConfigRead: () => invoke('hermes_auxiliary_config_read'),
hermesAuxiliaryConfigSave: (form) => invoke('hermes_auxiliary_config_save', { form }),
hermesToolLoopGuardrailsConfigRead: () => invoke('hermes_tool_loop_guardrails_config_read'),