Commit graph

37 commits

Author SHA1 Message Date
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
bc59a4fbf5 Ensure client is only initialized once 2025-06-08 14:48:05 -04:00
Jeremiah Lowin
d64077b03b remove empty parens from prompt 2025-06-05 14:56:10 -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
d1549c3d35 Remove empty parens 2025-06-04 15:37:55 -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
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
010170337f Ensure that tools/templates/prompts are compatible with callable objects 2025-05-23 18:53:55 -04:00
Jeremiah Lowin
eadec83083 Add request id back to tests 2025-05-20 10:45:27 -04:00
Jeremiah Lowin
526b831bec Store the initialize result on the client 2025-05-19 20:49:03 -04:00
Jeremiah Lowin
6b4f700a59 Improve handling of exceptiongroups when raised in clients 2025-05-14 19:34:17 -04:00
Jeremiah Lowin
6fa7c1704a Improve error handling for tools and resources 2025-05-13 14:19:55 -04:00
Jeremiah Lowin
112b91f521 create a setting for legacy parsing 2025-05-06 13:21:38 -04:00
Jeremiah Lowin
2eb0e7c1b3 Ensure prompts return descriptions 2025-05-05 12:33:05 -04:00
Jeremiah Lowin
c449f1d697 Handle args/kwargs appropriately for various objects 2025-05-04 15:00:26 -04:00
Jeremiah Lowin
51a867c3af Replace custom parsing with TypeAdapter 2025-05-04 12:07:00 -04:00
Jeremiah Lowin
085d4ae460 Update tests 2025-05-02 16:36:48 -04:00
Jeremiah Lowin
d544bc9b60 Update test_server_interactions.py 2025-04-30 18:09:52 -04:00
Jeremiah Lowin
e439f616c1 Ensure path works across platforms 2025-04-30 18:05:37 -04:00
Jeremiah Lowin
a9253d3111 use pydantic_core.to_json 2025-04-30 17:29:38 -04:00
Jeremiah Lowin
5443cf59aa Add log tests 2025-04-30 11:02:49 -04:00
Jeremiah Lowin
ef432ade0f Add context injection to all objects 2025-04-25 20:57:49 -04:00
Jeremiah Lowin
ed9f0a4555
Merge branch 'main' into return-values 2025-04-25 20:06:59 -04:00
Jeremiah Lowin
702bc68a4c platform independent path 2025-04-25 20:05:04 -04:00
Jeremiah Lowin
f87617e228 Fix issues with type conversion 2025-04-25 20:01:51 -04:00
Jeremiah Lowin
8205e1eefb Improve datetime test to avoid now 2025-04-25 19:51:16 -04:00
Jeremiah Lowin
882a10a5e3 Update docs and tests 2025-04-25 19:48:23 -04:00
Jeremiah Lowin
cd97b1c201 Document and test input types 2025-04-25 19:30:43 -04:00
Jeremiah Lowin
5f1e1dea5b update tool docs 2025-04-25 19:05:20 -04:00
Jeremiah Lowin
3f793d541c minor docs updates 2025-04-25 18:32:24 -04:00
Jeremiah Lowin
09cf6550b5 Split server interaction tests into new file 2025-04-25 17:49:42 -04:00