Commit Graph
1473 Commits
Author SHA1 Message Date
Nuno CamposandGitHub a307fc9fc4 Merge pull request #384 from langchain-ai/wfh/markdown_link_relaaaaax
Markdown Link Check only on changed files
2024-05-03 12:41:02 -07:00
William Fu-Hinthorn 5d5ee80b08 ok maybe ok onschedule 2024-05-03 12:37:45 -07:00
William Fu-Hinthorn c18ef9160d Relax link check 2024-05-03 12:36:19 -07:00
Nuno Campos 7b03ce021c 0.0.44 2024-05-03 12:33:25 -07:00
Nuno Campos 446543d973 Fix RunnableCallable wrapper when sync func with config arg is invoked async 2024-05-03 12:33:12 -07:00
Nuno Campos 33961eb2f0 0.0.43 2024-05-03 12:03:19 -07:00
Nuno CamposandGitHub 4b15a307f8 Merge pull request #382 from langchain-ai/nc/26apr/fix-aiosqlite
Use a lock to fix aiosqlite checkpointer running setup multiple times if called in parallel
2024-05-03 12:01:15 -07:00
Nuno Campos 574614eab9 Fix aiosqlite checkpointer running setup multiple times if called in parallel
Use a lock instead
2024-05-03 11:40:23 -07:00
William FHandGitHub b185efe365 Check if conn is alive (#381) 2024-05-03 11:38:18 -07:00
Nuno Campos d6091f5fa4 0.0.42 2024-05-03 11:06:42 -07:00
Nuno CamposandGitHub 01860d6a73 Merge pull request #380 from langchain-ai/nc/3may/state-graph-prefer-pydantic-io-schema
StateGraph: use state schema as input/output schema if already a pydantic model
2024-05-03 11:03:49 -07:00
Nuno Campos 0e30723684 Lint 2024-05-03 11:01:34 -07:00
Nuno CamposandGitHub 3ae17e9dd1 Merge pull request #379 from langchain-ai/nc/3may/checkpoint-end-of-step-costfree
Make end-of-step chckpointing costfree
2024-05-03 11:00:56 -07:00
Nuno CamposandGitHub 47d057557c Merge pull request #378 from langchain-ai/nc/3may/state-history-pagination
Implement cursor pagination for get_state_history (time travel endpoint)
2024-05-03 11:00:24 -07:00
Nuno Campos 2ab84d1562 StateGraph: use state schema as input/output schema if already a pydantic model 2024-05-03 10:59:00 -07:00
Nuno Campos 45149d2dc5 Make end-of-step chckpointing costfree
- instead of waiting for checkpoint put before proceeding, submit to executor / event loop and await all at the end
2024-05-03 10:54:32 -07:00
Nuno Campos 42d3215e34 Implement cursor pagination for get_state_history (time travel endpoint)
- interface in base checkpointer
- implement in sqlite, aiosqlite, memory
- implement in Pregel.get_state_history()
2024-05-03 10:34:11 -07:00
Nuno Campos d732385b7c 0.0.41 2024-05-03 10:09:04 -07:00
Nuno CamposandGitHub bdea491801 Merge pull request #377 from langchain-ai/nc/3may/config-schema
Optional 2nd arg to StateGraph with config schema
2024-05-03 10:08:05 -07:00
Nuno Campos 467f42d799 Optional 2nd arg to StateGraph with config schema 2024-05-03 10:05:14 -07:00
Nuno CamposandGitHub 740011efa6 Merge pull request #376 from langchain-ai/harrison/configuration-branch
add how-to notebook for configuration
2024-05-03 10:01:19 -07:00
Harrison Chase 301d71ec34 cr 2024-05-02 18:57:06 -07:00
William FHandGitHub 8a38226078 Customer Support Bot Tutorial (Flight Assistant) (#375) 2024-05-02 16:53:18 -07:00
Nuno CamposandGitHub 8ec1d2e3e9 Merge pull request #363 from langchain-ai/harrison/add-args
Harrison/add args
2024-05-02 15:49:21 -07:00
Nuno Campos 27efba27c0 Update tests 2024-05-02 09:31:22 -07:00
Nuno Campos d723a1e752 Add name to debug payload 2024-05-02 09:26:32 -07:00
Harrison Chase dea85d236c Merge branch 'master' into harrison/add-args 2024-05-01 08:26:00 -07:00
Harrison Chase 97f3d66c0e cr 2024-05-01 08:17:21 -07:00
Nuno Campos b2020c1972 0.0.40 2024-04-30 16:55:44 -07:00
Nuno CamposandGitHub 7d3133b239 Merge pull request #370 from langchain-ai/nc/30apr/stream-mode-debug
Implement stream_mode=debug
2024-04-30 16:54:37 -07:00
Nuno Campos 5e322a6550 Implement stream_mode=debug
- outputs 3 types of payloads
-- task: node about to be executed
-- task_result: result of node execution
-- checkpoint: state values at end of superstep
2024-04-30 16:15:38 -07:00
Nuno CamposandGitHub 49c95cefcf Merge pull request #369 from langchain-ai/nc/30apr/test-async-cancellation
Add tests for async cancellation
2024-04-30 14:37:56 -07:00
Nuno CamposandGitHub 14a256919d Merge pull request #368 from langchain-ai/dqbd/pregel-serializable
feat(pregel): mark graph as serializable
2024-04-30 13:58:02 -07:00
Nuno Campos 281e312d40 Add tests for async cancellation
- when outer invoke/stream is cancelled currently running nodes should be cancelled
- when multiple nodes run in parallel and one fails the others should be cancelled
2024-04-30 13:57:11 -07:00
Nuno CamposandGitHub d042f0d5fe Merge pull request #367 from langchain-ai/nc/30apr/interrupt-before-all
Implement interrupt_before=* and interrupt_after=*
2024-04-30 13:19:02 -07:00
Tat Dat Duong 2e3a690b34 feat(pregel): mark graph as serializable 2024-04-30 22:18:10 +02:00
Nuno Campos 280839b9df Try to avoid using deprecated method 2024-04-30 10:16:53 -07:00
Nuno CamposandGitHub c293d3d71d Merge pull request #366 from langchain-ai/nc/30apr/pregel-no-implicit-channels
Pregel: Remove implicit creation of channels referenced by nodes
2024-04-30 10:06:14 -07:00
Nuno Campos afa6a91934 Implement interrupt_before=* and interrupt_after=*
- This interrupts execution before/after all nodes
2024-04-30 10:05:53 -07:00
Nuno Campos 9a79eb54f9 Finish fixing tests 2024-04-30 09:23:41 -07:00
Nuno Campos 96870c0935 Pregel: Remove implicit creation of channels referenced by nodes
- channels must be declared in the constructor args
2024-04-30 09:04:19 -07:00
Nuno CamposandGitHub f6d332beb9 Merge pull request #362 from langchain-ai/nc/29apr/support-cond-edge-list-literal
For cond edges support specifying list of possible destinations as a list or typing annotation
2024-04-30 08:56:05 -07:00
Nuno CamposandGitHub 9505d8cc84 Merge pull request #365 from langchain-ai/nc/29apr/support-non-str-thread-ids
Nc/29apr/support non str thread ids
2024-04-30 08:54:14 -07:00
Nuno Campos 7554309abf Update tests 2024-04-29 17:46:42 -07:00
Nuno Campos ca2c93e0a1 Lint 2024-04-29 17:41:36 -07:00
Nuno Campos 516a74351d Support non str ids in sqlite checkpointers 2024-04-29 17:41:03 -07:00
Harrison Chase aa48a3be3d cr 2024-04-29 16:37:16 -07:00
Jose MayorgaandGitHub 75bb0e83cd Fixes #248, pattern validation failure (#277) 2024-04-29 15:27:23 -07:00
Aryan VermaandGitHub ee8fad5f7f Fix/call the correct variable authoring_graph during compilation (#292) 2024-04-29 15:27:03 -07:00
Trung PhanandGitHub a72d162a10 Fix typo in examples/human-in-the-loop.ipynb (#359) 2024-04-29 15:26:14 -07:00