fix(config): restore funded DeepSeek for sentiment-macro - #188
Merged
Conversation
Z.AI Coding Plan is not permitted for automated sentiment polling. Keep the funded DeepSeek path as the active provider. Generic Z.AI support remains for a future permitted general/API-package credential. Co-Authored-By: Grok 4.6 <noreply@x.ai>
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
Prospective config-only change: keep sentiment-macro on the permitted, funded DeepSeek API instead of the Z.AI Coding Plan endpoint.
Z.AI Coding Plan is not permitted for automated sentiment polling (supported tools / usage policy). DeepSeek is funded and remains the active provider. Generic Z.AI implementation is left in
src/for a future permitted general/API-package credential.This PR does not revert #184 or #186. It does not change sentiment scoring, degradation thresholds, telemetry taxonomy, retries, strategy rules, sizing, or execution.
Safety flags are unchanged:
mode: paper,trading_execution.enabled: false,trading_execution.test_mode: true.PR only. Do not merge as a deploy authorization. After review and merge, repeat the deployment-delta audit against the new
origin/main. Deployment remains separately authorized.Type of Change
SHAs
origin/main):19167bca285f8956f77efba1a2c81cc0de7ad3e77d64895acd26dca1ed42566d11413016f7137166What changed and why
config/settings.sentiment_macro.yamlprovider: deepseek+fallback_model: deepseek-v4-pro. Removemodel: glm-5.3and Coding Planzai_base_url. Record the policy reason in the nearby comment.tests/test_config_merge.pytests/test_settings_integration.pyzai_base_url, and keeps paper/execution flags.Testing
81 passed)1402 passed)ruff check .andruff format --check .git diff --check origin/main...HEADChecklist
Notes
Production remains at
ebb618b3b2687bbb4deeff0ffdf1cb0371d76801. This PR does not authorize Deploy.