Commit dc77199
committed
Fix HTTP timeouts (#616)
### TL;DR
Updated API base URL from mcp-agent.com to web-internal.mcp-agent.com to reflect recent backend changes
### What changed?
Changed the default API base URL from `https://mcp-agent.com/api` to `https://web-internal.mcp-agent.com/api` across multiple files:
- Updated `DEFAULT_API_BASE_URL` in constants.py
- Updated API URL references in documentation files
- Updated example in API client docstring
### How to test?
1. Verify that the CLI connects to the new API endpoint when running commands
2. Check that documentation examples reflect the new URL
3. Ensure existing integrations continue to work with the new endpoint
### Why make this change?
To fix it
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
* **Chores**
* Updated the default API endpoint to use the internal service endpoint instead of the public endpoint.
* **Documentation**
* Updated example documentation to reflect the new API endpoint configuration.
<sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent e01a889 commit dc77199
File tree
4 files changed
+4
-4
lines changed- examples/mcp_agent_server/asyncio
- src/mcp_agent
- cli/core
- data/examples/mcp_agent_server/asyncio
4 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments