fix(onboarding): compact provider switch profiles - #241
Closed
thanhtan1105 wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-
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.