Skip to content

bug fix: fix the but where app loaded config before CLI parser parsed the input.#42

Open
lyuwen wants to merge 1 commit into
ThunderAgent-org:mainfrom
lyuwen:main
Open

bug fix: fix the but where app loaded config before CLI parser parsed the input.#42
lyuwen wants to merge 1 commit into
ThunderAgent-org:mainfrom
lyuwen:main

Conversation

@lyuwen

@lyuwen lyuwen commented Jul 13, 2026

Copy link
Copy Markdown

The bug happens when I pass in a custom --backends http://xxx.xxx.xxx.xxx:30000 from CLI, but it did not take effect. The thuneragent still listens to the localhost:8000. Upon investigation, the register_routes method in app.py was triggered during import via __init__.py. Therefore, as the fix to the bug, I commented out the import from .app since it's not used immediately by the module.

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.

1 participant