picoclaw/pkg/providers
yinwm 712f5a8300 refactor(config): rename model field to model_name
The configuration field for specifying the model has been renamed from
"model" to "model_name" for better clarity and consistency with the
model_list configuration.

A GetModelName() accessor method has been added to maintain backward
compatibility. Existing configurations using the old "model" field will
continue to work correctly.

This change affects:
- Configuration structure (AgentDefaults struct)
- All references across the codebase
- Documentation in all language variants
- Example configuration files
2026-02-23 16:55:06 +08:00
..
anthropic feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
openai_compat feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
protocoltypes feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
antigravity_provider.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
antigravity_provider_test.go fix(antigravity): normalize tool calls to avoid empty function names 2026-02-17 20:05:35 +05:30
claude_cli_provider.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
claude_cli_provider_integration_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
claude_cli_provider_test.go Merge branch 'main' into fix-formatting 2026-02-20 20:02:53 +02:00
claude_provider.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
claude_provider_test.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
codex_cli_credentials.go feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
codex_cli_credentials_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
codex_cli_provider.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
codex_cli_provider_integration_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
codex_cli_provider_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
codex_provider.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
codex_provider_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
cooldown.go style: fix gofmt formatting in cooldown files 2026-02-13 12:26:44 -03:00
cooldown_test.go style: fix gofmt formatting in cooldown files 2026-02-13 12:26:44 -03:00
error_classifier.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
error_classifier_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
factory.go refactor(config): rename model field to model_name 2026-02-23 16:55:06 +08:00
factory_provider.go chore: update Claude model references to claude-sonnet-4.6 2026-02-20 12:15:04 +08:00
factory_provider_test.go chore: update Claude model references to claude-sonnet-4.6 2026-02-20 12:15:04 +08:00
factory_test.go chore: update Claude model references to claude-sonnet-4.6 2026-02-20 12:15:04 +08:00
fallback.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
fallback_test.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
github_copilot_provider.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
http_provider.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
legacy_provider.go refactor(config): rename model field to model_name 2026-02-23 16:55:06 +08:00
model_ref.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
model_ref_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
tool_call_extract.go feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
toolcall_utils.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
types.go feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00