Add redirect_slashes=False for Mintlify docs compatibility#145
Open
fengtality wants to merge 2 commits intofeature/connector-level-retryfrom
Open
Add redirect_slashes=False for Mintlify docs compatibility#145fengtality wants to merge 2 commits intofeature/connector-level-retryfrom
fengtality wants to merge 2 commits intofeature/connector-level-retryfrom
Conversation
d7d656b to
87ab393
Compare
7a144d5 to
7d0b524
Compare
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
c840bfe to
55d6c87
Compare
Contributor
Author
|
This is needed for API reference in https://condor.hummingbot.org/api-reference |
Previously, portfolio state refresh=true did not actually fetch fresh balances from exchanges - it only read cached connector data. Changes: - _get_connector_tokens_info now calls connector._update_balances() - Added skip_balance_refresh param to avoid double fetch in background loop - Errors during balance refresh log warning and use stale data gracefully - Added tests for refresh behavior Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
redirect_slashes=Falseto FastAPI configuration to prevent automatic redirects from/endpointto/endpoint/refresh=truenow fetches fresh balances from exchanges (previously only returned cached data)Test plan
refresh=truereturns fresh exchange balances🤖 Generated with Claude Code