-
[NA] [BE][FE] chore: sync provider model definitions (#6280)
发布于
2026-04-15 08:16:30 +00:00 -
[NA] [BE][FE] chore: sync provider model definitions
-
test(backend): decouple LlmProviderFactoryTest from auto-synced default registry
Point the structured-output test's LlmModelRegistryService at the curated
llm-models-test.yaml instead of the auto-synced llm-models-default.yaml.
The default YAML is regenerated by sync_provider_models.yml; a recent sync
flipped claude-sonnet-4-6 to structuredOutput: true, breaking the test's
"registry model does not support structured output" assertion.- refactor(backend): drop @SneakyThrows from LlmProviderFactoryTest
Only testGetService propagates a checked exception (IOException from
OpenRouterModule.clientGenerator); declare it on that method and remove
@SneakyThrows everywhere else so tests surface real signatures.refactor(backend): replace inlined FQNs with imports in LlmProviderFactoryTest
Pull @Test, @DisplayName, ToolCallingStrategy and InstructionStrategy into
the import block so tests use short names consistently.
Co-authored-by: Andres Cruz andresc@comet.com
下载附件
-