Skip to content

fix: correct request.get to requests.get in README example#827

Open
Jah-yee wants to merge 2 commits intoQwenLM:mainfrom
Jah-yee:fix/readme-request-get
Open

fix: correct request.get to requests.get in README example#827
Jah-yee wants to merge 2 commits intoQwenLM:mainfrom
Jah-yee:fix/readme-request-get

Conversation

@Jah-yee
Copy link
Copy Markdown

@Jah-yee Jah-yee commented Mar 11, 2026

The README example incorrectly uses request.get() instead of requests.get(). This PR fixes line 147.

Closes #825

@Jah-yee Jah-yee force-pushed the fix/readme-request-get branch from f95305e to 79ed6e1 Compare March 12, 2026 00:50
The example code incorrectly uses request.get() instead of requests.get().
This is a simple documentation fix to ensure accuracy.
@Jah-yee Jah-yee force-pushed the fix/readme-request-get branch from 79ed6e1 to 9862e47 Compare March 12, 2026 06:51
Add thread-safe singleton using double-checked locking pattern.
This prevents race conditions when multiple threads try to create
the MCPManager instance simultaneously (e.g., in Gradio WebUI
or ASGI server environments).

Fixes: QwenLM#812
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.

Fix issue in the Prompt in Readme

1 participant