feat(models): declare provider APIs and simplify preset configuration

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-10 01:33:02 +08:00
1 parent 592f0559a9
commit 994ce51502
26 files changed
+444 -123

No files matched your search

+11 -5
View File
@@ -717,11 +717,17 @@
"presetNameDuplicate": "A preset with this name already exists.",
"presetNamePlaceholder": "e.g. Fast writing",
"advancedOptions": "Advanced options",
"requestAPI": "Request API",
"requestAPIHelp": "Applies to this preset. Select Responses for gateways that require it; allow Chat fallback only when the model supports both APIs.",
"apiAuto": "Automatic",
"apiPreferResponses": "Responses with Chat fallback",
"apiPreferChat": "Chat preferred (both APIs)",
"requestAPI": "API connection",
"requestAPIHelp": "Let nanobot choose for this provider and model. Usually no changes needed.",
"apiAuto": "Automatic (recommended)",
"apiResponsesHelp": "Use when your provider requires the Responses API.",
"apiChatHelp": "Use the provider’s Chat Completions endpoint.",
"apiFallback": "Try Chat Completions if Responses is unsupported",
"apiFallbackHelp": "Retries with the same model. Your provider must support both APIs.",
"apiResponsesOnlyHelp": "Uses Responses only, without switching to Chat Completions.",
"apiResponsesFallbackHelp": "Uses Responses first, then tries Chat Completions for compatibility errors.",
"apiProviderManagedHelp": "{{provider}} manages this connection. No configuration needed.",
"apiTranscription": "Transcription",
"contextSummary": "Context {{context}}",
"outputSummary": "Max {{max}} tokens",
"contextWindowHint": "{{tokens}} tokens",