Commit graph

1,264 commits

Author SHA1 Message Date
Jeremiah Lowin
d7824f1414 Move nested server 2025-06-01 09:35:42 -04:00
Jeremiah Lowin
8fb709c98c Simplify code for running servers in processes 2025-06-01 09:35:06 -04:00
Jeremiah Lowin
8a0f9aab5a Support providing tools at init 2025-05-31 22:42:00 -04:00
Jeremiah Lowin
3e2fbb606b
Merge branch 'main' into fix-typing 2025-05-31 20:47:12 -04:00
Jeremiah Lowin
39c8f39863 Fix remaining typing issues 2025-05-31 20:46:12 -04:00
Jeremiah Lowin
f1e3713fc6 Update test typing 2025-05-31 20:41:18 -04:00
Jeremiah Lowin
3d454380b1 Fix import and remaining available port 2025-05-31 19:36:04 -04:00
Jeremiah Lowin
ad8182eed0 Create http utility 2025-05-31 19:33:50 -04:00
Jeremiah Lowin
2390fb4da6 clean up test inits 2025-05-31 19:32:08 -04:00
Jeremiah Lowin
fdfa1fe108 Use anyio.event 2025-05-31 18:12:17 -04:00
Jeremiah Lowin
814a6e4419 Add concurrency test 2025-05-31 18:08:43 -04:00
William Easton
72e999d4be
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-31 15:48:43 -05:00
William Easton
cf5d0c9e95
add test for list case and lint 2025-05-31 14:49:35 -05:00
William Easton
b086dd4f32
Add content tests, fix array wrapping single objects 2025-05-31 14:39:54 -05:00
Sillocan
b6c110fa0e
Merge branch 'jlowin:main' into main 2025-05-30 18:48:06 -07:00
Jeremiah Lowin
1d131a8c96 Create test_oauth.py 2025-05-30 21:17:56 -04:00
Sillocan
9018049828 test: Demonstrate issue with concurrent proxy tasks 2025-05-30 16:17:06 -07:00
deepak-stratforge
2233b5844b feat(tool): validate and enforce default values
- Added validation to ensure all parameters listed in `exclude_args` exist in the function.
- Ensured parameters in `exclude_args` have default values to avoid runtime errors.
- Added test.
2025-05-29 20:05:18 +05:30
deepak-stratforge
138316715e feat(tool): add support for excluding arguments from tool definition
This introduces an `exclude_args` parameter to omit specified arguments
(such as `state`, `memory`, etc.).

It will exclude the mentioned args from the schema sent to the LLM and still allow them
to be passed when the tool is called.

This doesn't come with the MCP protocol but can be useful in many use cases.
2025-05-29 15:32:46 +05:30
Jeremiah Lowin
975f151a9b Reset session after closing 2025-05-28 22:02:03 -04:00
Jeremiah Lowin
9bbd417129 Add keep_alive param to reuse subprocess 2025-05-28 21:46:40 -04:00
Jeremiah Lowin
586072f605
Merge branch 'main' into headers 2025-05-28 18:43:52 -04:00
Jeremiah Lowin
ee059b02b6 Update test_openapi.py 2025-05-28 18:38:16 -04:00
Jeremiah Lowin
d311a2b878 Ensure behavior-affecting headers are excluded 2025-05-28 18:30:33 -04:00
Jeremiah Lowin
c4d941f671
Merge pull request #605 from davenpi/fix-unreachable-mounted-servers
Add graceful error handling for unreachable mounted servers
2025-05-28 16:07:30 -04:00
Jeremiah Lowin
05288fc507 Fix handling tools without descriptions 2025-05-27 09:08:24 -04:00
davenpi
b7607af17a Handle unreachable mounted servers. 2025-05-27 08:25:52 -04:00
Jeremiah Lowin
307a3b908a Ensure content-length is always stripped from client headers 2025-05-24 07:38:34 -04:00
Jeremiah Lowin
794ef3f114 Match functions and methods 2025-05-23 19:00:54 -04:00
Jeremiah Lowin
010170337f Ensure that tools/templates/prompts are compatible with callable objects 2025-05-23 18:53:55 -04:00
Jeremiah Lowin
b924dd54d4 Add tests 2025-05-23 17:31:46 -04:00
Jeremiah Lowin
ae960e2f5a Update tests for new names 2025-05-23 17:16:32 -04:00
Jeremiah Lowin
e0ae84c75f Use lowercase name for headers 2025-05-23 16:02:42 -04:00
Jeremiah Lowin
9350d558c6 Update test_openapi.py 2025-05-23 15:42:56 -04:00
Jeremiah Lowin
de666be70d Update test_openapi.py 2025-05-23 15:40:03 -04:00
Jeremiah Lowin
b8e918a862 Ensure headers are passed through proxy servers 2025-05-23 15:39:45 -04:00
Jeremiah Lowin
213abc4244 Pass client headers through to OpenAPI client 2025-05-23 12:38:24 -04:00
Jeremiah Lowin
98d00dcbf1
Merge branch 'main' into mask-errors 2025-05-23 11:18:18 -04:00
Jeremiah Lowin
6436adaaf3 Split into routemapfn and mcpcomponentfn 2025-05-23 11:03:57 -04:00
Jeremiah Lowin
4e6b1bf611
Merge branch 'main' into mask-errors 2025-05-23 08:36:10 -04:00
Jeremiah Lowin
2c922bf5d4 Merge branch 'main' into route_map_fn 2025-05-23 08:32:08 -04:00
Jeremiah Lowin
ef8bb6f631
Merge branch 'main' into custom-tags 2025-05-23 08:27:41 -04:00
Jeremiah Lowin
9a906f05cf Merge branch 'main' into custom-routes 2025-05-22 22:19:30 -04:00
Jeremiah Lowin
aa2747497c Add route_map_fn for fine control 2025-05-22 22:10:45 -04:00
Jeremiah Lowin
6cac09cf2a Add support for RouteMap tags, update docs 2025-05-22 21:59:16 -04:00
Jeremiah Lowin
702412e28b Remove custom names 2025-05-22 21:11:46 -04:00
Jeremiah Lowin
4c3bf80652 Add custom naming and deprecate all_routes_as_tools 2025-05-22 15:46:46 -04:00
Jeremiah Lowin
e6b1c6984c Update route map logic 2025-05-22 15:06:10 -04:00
Jeremiah Lowin
998de22a6e
Merge pull request #558 from jlowin/custom-routes
Ensure custom routes are respected
2025-05-22 12:26:08 -04:00
Jeremiah Lowin
189389a3a4 Ensure custom routes are respected 2025-05-22 12:20:29 -04:00