Commit graph

662 commits

Author SHA1 Message Date
Jeremiah Lowin
06dcff3b3b Add tests 2025-06-14 09:22:29 -04:00
Jeremiah Lowin
f269c074f4 Add audio support 2025-06-14 08:59:48 -04:00
Jeremiah Lowin
20f4117b47 Update tests 2025-06-10 21:06:20 -04:00
Jeremiah Lowin
3de00e3aa2 Add tests 2025-06-10 20:47:08 -04:00
Jeremiah Lowin
b1714bcf7b Clean up route maps 2025-06-10 20:19:41 -04:00
Jeremiah Lowin
c5fb5f7fd2 Remove tuple tags 2025-06-10 19:50:43 -04:00
Jeremiah Lowin
7224295f93 Incorporate enabled property 2025-06-10 19:32:31 -04:00
Jeremiah Lowin
ad45f0572a Merge branch 'main' into include-exclude 2025-06-10 19:31:25 -04:00
Jeremiah Lowin
1866c17400 Update tests 2025-06-10 17:08:23 -04:00
Jeremiah Lowin
2f0b60a6d9 Update test_proxy.py 2025-06-10 11:48:53 -04:00
Jeremiah Lowin
f9e414f51e Ensure proxies can overwrite remote tools without leaking 2025-06-10 11:30:22 -04:00
Jeremiah Lowin
9c25cc6454 Support enabled/disabled resources and templates 2025-06-10 10:44:46 -04:00
Jeremiah Lowin
6e92335510 Support enabled/disabled tools 2025-06-10 10:32:50 -04:00
Jeremiah Lowin
17a71278aa Support enabled/disabled prompts 2025-06-10 10:24:40 -04:00
Jeremiah Lowin
b74bce6ff7 Create common base class for components 2025-06-10 09:22:57 -04:00
Jeremiah Lowin
47b2c58134
Merge branch 'main' into transform-tools-2 2025-06-09 17:24:23 -04:00
Jeremiah Lowin
bc59a4fbf5 Ensure client is only initialized once 2025-06-08 14:48:05 -04:00
Jeremiah Lowin
6d36171f38 Fix passing token string to client auth 2025-06-07 21:39:50 -04:00
Jeremiah Lowin
7d2f51535f
Merge branch 'main' into include-exclude 2025-06-07 18:40:38 -04:00
Jeremiah Lowin
956488635e Add support for tag-based include/exclude 2025-06-07 18:38:29 -04:00
Jeremiah Lowin
e7672bf0bc Update test_mount.py 2025-06-07 17:37:48 -04:00
Jeremiah Lowin
32a091e228 Don't store exclude args as attribute 2025-06-07 16:59:58 -04:00
Jeremiah Lowin
d64077b03b remove empty parens from prompt 2025-06-05 14:56:10 -04:00
Jeremiah Lowin
424978397b Fix indentation 2025-06-05 11:15:25 -04:00
Jeremiah Lowin
f495de6f3a Ensure methods work/are documented 2025-06-05 10:59:32 -04:00
Jeremiah Lowin
d26a5dffc3 Return objects from decorators 2025-06-05 10:04:39 -04:00
Jeremiah Lowin
099d340208 Update tests for prompts 2025-06-04 16:37:41 -04:00
Jeremiah Lowin
e7a94eb8a6 allow naked prompt decorator 2025-06-04 16:34:19 -04:00
Jeremiah Lowin
18615bc48b Remove empty parens 2025-06-04 15:41:28 -04:00
Jeremiah Lowin
d1549c3d35 Remove empty parens 2025-06-04 15:37:55 -04:00
Jeremiah Lowin
699b457748 Support "naked" tool decorator usage 2025-06-04 14:33:08 -04:00
Jeremiah Lowin
cc541d6eee Ensure tool serializer is applied 2025-06-04 12:47:12 -04:00
Jeremiah Lowin
0535a70d31 Server add_* methods no longer accept functions 2025-06-04 12:39:34 -04:00
Jeremiah Lowin
3a0faf5fcf Formalize resource/functionresource replationship 2025-06-04 11:06:59 -04:00
Jeremiah Lowin
3a3c01708d Split Tool into Tool and FunctionTool 2025-06-04 10:19:14 -04:00
Jeremiah Lowin
93d84489fc Update auth docs 2025-06-03 09:11:50 -04:00
Jeremiah Lowin
1f3ddd104b
Merge branch 'main' into feature/exclude-args-support 2025-06-01 16:51:30 -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
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
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
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