Skip to content

fix(onboarding): compact provider switch profiles - #241

Closed
thanhtan1105 wants to merge 1 commit into
use-agent-os:mainfrom
thanhtan1105:codex/fix-provider-profile-review
Closed

fix(onboarding): compact provider switch profiles#241
thanhtan1105 wants to merge 1 commit into
use-agent-os:mainfrom
thanhtan1105:codex/fix-provider-profile-review

Conversation

@thanhtan1105

Copy link
Copy Markdown
Contributor

Summary\n- keep only provider-scoped router state in switch profiles\n- compact shipped tier defaults so future model updates propagate\n- preserve global router tuning and clarify literal-credential recovery\n\n## Validation\n- ........................................................................ [ 75%]

........................ [100%]
96 passed in 1.11s\n- ............................................. [100%]
=============================== warnings summary ===============================
tests/test_gateway_config_legacy.py::test_load_with_all_deprecated_fields_does_not_raise
/Users/tanle/Documents/ThanhTanLe/Dattum/project/agent-os/.venv/lib/python3.12/site-packages/pluggy/_callers.py:121: DeprecationWarning: AgentOS: 21 legacy memory.* config field(s) ignored (e.g. memory.auto_recall_enabled, memory.cost.embedding_cache, memory.cost.llm_judge_cache); see /var/folders/_3/wjr55yqs0wxdtjmkm_prft200000gn/T/agentos-pytest-69947/state/logs for details. These fields will be removed in 0.2.0.
res = hook_impl.function(*args)

tests/test_gateway_config_legacy.py::test_load_migrates_legacy_agent_token_saving_fields
/Users/tanle/Documents/ThanhTanLe/Dattum/project/agent-os/.venv/lib/python3.12/site-packages/pluggy/callers.py:121: DeprecationWarning: AgentOS: 7 legacy agent_token_saving.tool_result_compression* config field(s) migrated or ignored (e.g. agent_token_saving.tool_result_compression_enabled, agent_token_saving.tool_result_compression_max_share, agent_token_saving.tool_result_compression_mode); see /var/folders/_3/wjr55yqs0wxdtjmkm_prft200000gn/T/agentos-pytest-69947/state/logs for details. Tokenjuice projection is now the built-in tool-result path.
res = hook_impl.function(*args)

tests/test_gateway_config_legacy.py::test_log_file_written_with_per_field_detail
/Users/tanle/Documents/ThanhTanLe/Dattum/project/agent-os/.venv/lib/python3.12/site-packages/pluggy/_callers.py:121: DeprecationWarning: AgentOS: 21 legacy memory.* config field(s) ignored (e.g. memory.auto_recall_enabled, memory.cost.embedding_cache, memory.cost.llm_judge_cache); see /private/var/folders/_3/wjr55yqs0wxdtjmkm_prft200000gn/T/pytest-of-tanle/pytest-158/test_log_file_written_with_per0/logs for details. These fields will be removed in 0.2.0.
res = hook_impl.function(*args)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
45 passed, 3 warnings in 0.50s\n- All checks passed!\n- src/agentos/scheduler/handlers.py:725: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/search_cmd.py:66: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/search_cmd.py:105: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/providers_cmd.py:70: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/cron_cmd.py:513: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/main.py:143: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/main.py:317: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
src/agentos/cli/main.py:441: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
Success: no issues found in 591 source files\n-

agentos-control-ui@1.0.0 check
tsc --noEmit && eslint src && prettier --check src && vitest run

src/views/chat/transcript/chart.ts(23,59): error TS2307: Cannot find module 'lightweight-charts' or its corresponding type declarations.
src/views/chat/transcript/chart.ts(282,43): error TS2307: Cannot find module 'lightweight-charts' or its corresponding type declarations.
src/views/chat/transcript/chart.ts(284,52): error TS2307: Cannot find module 'lightweight-charts' or its corresponding type declarations.
src/views/chat/transcript/chart.ts(285,29): error TS2307: Cannot find module 'lightweight-charts' or its corresponding type declarations.\n- \n\nFollow-up to #239; addresses its post-merge review feedback.

@keyKQ keyKQ closed this Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants