Commit Graph

63 Commits

Author SHA1 Message Date
Ran Shem Tov 4506570206 chore: use latest python langgraph ag-ui 2026-03-13 13:49:15 +01:00
Jordan Ritter 973b4e460e fix(sdk-python): loosen FastAPI version ceiling from ^0.115.0 to >=0.115.0,<1.0.0 (#3261)
## Problem

The Poetry caret constraint `^0.115.0` in `sdk-python/pyproject.toml`
resolves to `>=0.115.0,<0.116.0` for 0.x versions (per [PEP 440 / Poetry
docs](https://python-poetry.org/docs/dependency-specification/#caret-requirements)).
This blocks installation alongside any FastAPI release since **0.116.0
(June 2025)**.

Current stable FastAPI is **0.129.0** — 14 minor versions ahead of the
ceiling.

## Impact

- Cannot `pip install copilotkit` in any project using FastAPI >=0.116.0
- Multiple users blocked (see #2771 comments)
- Our production project has **~90 tests bypassed** with
`COPILOTKIT_AVAILABLE = False` guards because of this

## Fix

```diff
- fastapi = "^0.115.0"
+ fastapi = ">=0.115.0,<1.0.0"
```

This allows all current and future 0.x FastAPI releases while still
capping at the upcoming 1.0 major version boundary, which may introduce
breaking changes.

## Testing

- The SDK uses standard FastAPI features (routing, dependency injection,
middleware) that have been stable across all 0.11x–0.12x releases
- No FastAPI APIs used by the SDK were deprecated or removed in
0.116.0–0.129.0
- `ag-ui-langgraph` (also in deps) uses `>=0.115.0` without an upper
bound, so this change aligns the two constraints

## Note on `ag-ui-langgraph`

`ag-ui-langgraph[fastapi]` also depends on FastAPI. Its constraint is
already `>=0.115.0` (no ceiling), so this change to `copilotkit` is the
only fix needed.

Fixes #2771
2026-03-06 14:39:52 -04:00
Jordan Ritter 8bad9f30ac test: add unit tests for emit_messages/emit_tool_calls filtering
Tests the two bugs fixed in this PR:
1. Dict raw_event metadata must be read with .get(), not getattr()
2. Filtered events must return None (not ""), and run() strips them

Adds pytest as a dev dependency.
2026-03-06 08:32:06 -08:00
BreBryBro 62ba11fe1c fix(sdk-python): loosen FastAPI version ceiling from ^0.115.0 to >=0.115.0,<1.0.0
The Poetry caret constraint `^0.115.0` resolves to `>=0.115.0,<0.116.0` for
0.x versions, blocking installation alongside any FastAPI release since 0.116.0
(June 2025). This prevents adoption of the Python SDK in projects using current
FastAPI versions.

Change to `>=0.115.0,<1.0.0` to allow all 0.x releases while still capping
at the upcoming 1.0 major version boundary.

Fixes #2771
2026-02-23 16:19:04 -06:00
Ran Shemtov c07362d137 chore: release py sdk 0.1.78 (#3158) 2026-02-06 13:01:23 +01:00
Ran Shemtov b49277b605 fix: update all agui langgraph dependencies (#3115) 2026-01-28 16:22:04 +01:00
Ran Shemtov f122e424c1 chore: release python sdk 0.1.75 (#2988) 2026-01-09 17:08:45 +01:00
Ran Shemtov 5a24f28894 feat: create copilotkit langgraph middleware (#2928) 2026-01-09 16:46:40 +01:00
Ran Shemtov ab6b00de57 chore: ease up ag-ui langgraph versions and release 0.1.74 sdk py (#2882) 2025-12-22 12:40:11 +01:00
Ran Shemtov 07a346dc64 release python sdk 0.1.72 (#2715) 2025-11-13 15:44:43 +01:00
Ran Shemtov 09b3ac6d44 release python sdk version 0.1.70 (#2657) 2025-10-24 11:50:43 +02:00
Ran Shemtov 7455309ffa feat: use latest agui langgraph integration packages (#2588) 2025-10-09 18:04:09 -04:00
Ran Shemtov 223bfabee7 chore: release python sdk 0.1.66 (#2575) 2025-10-06 17:25:54 +02:00
Ran Shemtov e7303691c3 Feat/upgrade agui lg integration packages (#2476) 2025-09-22 17:31:09 +02:00
Ran Shemtov 23fe6a1586 feat: upgrade agui packages (#2467) 2025-09-19 18:28:38 +02:00
Ran Shemtov b7bc3a03e9 feat: pass copilot readable context to agui agents (#2426) 2025-09-15 12:37:55 +02:00
Ran Shemtov 363a5544a0 chore: upgrade agui versions and release v0.1.63 (#2408) 2025-09-03 13:12:53 +02:00
Ran Shemtov 30a7e80b93 chore: release python sdk 0.1.62 which uses latest agui langgraph integration (#2350) 2025-08-28 10:41:09 +02:00
Ran Shemtov f566562de1 LangGraphJS support fix bundle (#2346) 2025-08-21 14:20:52 +02:00
Ran Shemtov 83139450fc chore: upgrade dependencies of coagents-research canvas demo (#2314) 2025-08-13 13:07:53 +02:00
Ran Shemtov dc6df18e63 feat: support latest lg agui (#2262) 2025-08-07 09:07:31 -04:00
Ran Shemtov b75c01ef0d chore: release python sdk version 0.1.56 (#2218) 2025-07-23 10:24:00 +02:00
Ran Shemtov ec6969b27a Fix/serializable state py (#2177) 2025-07-23 09:56:02 +02:00
Ran Shemtov a010b323d5 chore: use url from deployment when routing to agent (#2171) 2025-07-17 18:15:58 +02:00
Ran Shemtov df25f34d30 feat: add agui fastAPI compatible langgraph agent (#2117) 2025-07-15 19:49:15 +02:00
Ran Shemtov cf90f85aad fix: reduce checkpointer calls lg events (#2063) 2025-07-08 14:39:42 +02:00
Ran Shemtov 77b0a47126 chore: release python sdk version 0.1.53 (#2079) 2025-07-01 10:42:17 +02:00
Ran Shemtov c0e799e787 Fix/support langgraph 0.5.0 (#2073) 2025-06-30 23:02:48 +02:00
Ran Shemtov e977f46724 chore: release python sdk 0.1.51 (#2041) 2025-06-23 14:25:38 +02:00
Ran Shemtov c361a16d31 fix: fix regenerate to rerun tool call on click (#2019) 2025-06-19 18:36:33 +02:00
Suhas Deshpande 91162f5624 chore: standardize Python dependencies across examples (#2016) 2025-06-19 09:35:55 -07:00
Suhas Deshpande a188b4f902 adds state update event to crew flow (#1963) 2025-06-09 21:29:27 -07:00
Suhas Deshpande 98d7c5626a bump sdk-python version (#1941) 2025-06-05 16:22:00 -07:00
Ran Shemtov 933ed0ebbd release python sdk 0.1.47 (#1905) 2025-05-30 11:11:05 +02:00
Suhas Deshpande 8028263484 bumps python sdk to 0.1.46 (#1799) 2025-05-12 12:49:25 -07:00
Suhas Deshpande d40e0027a3 udpates crewai to 0.118.0 (#1743) 2025-05-12 08:29:47 -07:00
Ran Shemtov 2fc03d88bb chore: release python sdk version 0.1.45 (#1775) 2025-05-08 12:14:36 +02:00
Ran Shemtov ee4e768076 chore: release python 0.1.44 (#1681) 2025-04-16 16:47:19 +02:00
Suhas Deshpande 5177353298 bump sdk-python version (#1660) 2025-04-10 16:17:30 -07:00
Ran Shemtov 5dd121703d chore: release python sdk 0.1.42 (#1563) 2025-03-26 17:47:12 +01:00
Nathan 🔶 Tarbert 0210c1b0c2 Update pyproject.toml 2025-03-18 15:40:01 -04:00
Markus Ecker 4a17263fc7 publish 0.1.41 2025-03-18 17:40:12 +01:00
Suhas Deshpande 925840b16f bumps py-sdk version (#1471) 2025-03-11 12:15:34 -07:00
Markus Ecker 2546e95438 Make the crew dependency optional (#1468)
Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2025-03-11 11:26:38 -07:00
Markus Ecker 082db7a996 Add CrewAI support (#1308)
Co-authored-by: Suhas Deshpande <suhasdeshpande@users.noreply.github.com>
Co-authored-by: Ariel Weinberger <Weinberger.Ariel@gmail.com>
Co-authored-by: Suhas Deshpande <suhas2u@gmail.com>
2025-02-28 12:21:54 +01:00
Ran Shemtov 19b2ac4bbf chore: release python sdk v0.1.39 (#1385) 2025-02-17 14:53:22 +01:00
Ran Shemtov 39faa60212 chore: publish python sdk v0.1.37 (#1339) 2025-02-11 15:53:07 +01:00
Ran Shemtov 446eefa9e6 chore: release python version 0.1.36 (#1334) 2025-02-11 15:24:10 +01:00
Suhas Deshpande 72ba5d5bbd udpates version to 0.1.35 (#1323) 2025-02-08 10:49:53 -08:00
Ran Shemtov 5bc97b858b fix: broaden langchain-openai versions restriction (#1314) 2025-02-07 14:15:02 +01:00