3choff
466e1e8eb7
refactor: modernize type hints and improve async context handling
...
- Update type hints to use Python 3.10 syntax (dict, list, X | None)
- Replace requests with httpx for HTTP client consistency
- Improve async context management using AsyncExitStack
- Simplify server cleanup method
2024-12-18 16:35:49 +00:00
3choff
a0216c3e50
Add example client to examples/clients folder
2024-12-11 16:06:10 +00:00
David Soria Parra
aaf32b5307
Merge branch 'v1.1.x'
2024-12-09 14:26:46 +00:00
David Soria Parra
28ed9cba5a
Change lower bounds and update locks
2024-12-09 14:23:08 +00:00
Oskar Raszkiewicz
e4c00741be
Fix simple-prompt example README
2024-12-04 19:44:00 +01:00
David Soria Parra
44ec763f92
Fix READMEs of examples
2024-12-03 22:35:52 +00:00
David Soria Parra
b36bde3d85
ruff fix
2024-11-22 10:47:58 +00:00
David Soria Parra
bbd9d05851
Fix example servers SSE invocation
...
Reported-by: Simon Willison
2024-11-22 10:45:24 +00:00
David Soria Parra
464cb02fdd
Update READMEs
2024-11-19 12:37:10 +00:00
David Soria Parra
f00559a465
pin to lowest supported python version
2024-11-13 10:44:54 +00:00
David Soria Parra
e1766443b8
add simple resource example
2024-11-12 14:29:14 +00:00
David Soria Parra
10881fb19b
Example server to expose a fetch tool and a fetch prompt
2024-11-12 13:53:36 +00:00