Nuno Campos and GitHub
bf289dbee4
Merge pull request #1772 from langchain-ai/jacob/nit
...
fix: Use imported constant for namespace end
2024-09-20 09:21:18 -07:00
Nuno Campos and GitHub
b03d9ae52c
Merge pull request #1776 from langchain-ai/nc/19sep/stream-mode-custom
...
Add stream_mode=custom
2024-09-20 09:18:51 -07:00
Nuno Campos and GitHub
531890e35a
Update types.py
2024-09-20 08:49:00 -07:00
Nuno Campos
1cf117ed9d
Lint
2024-09-19 17:09:04 -07:00
Nuno Campos
3b0f27c777
Add stream_mode=custom
...
- adds the ability for nodes (including in subgraphs) to emit chunks directly to the output stream, emitted chunks can have any type
- when stream_mode=custom isnt requested by the caller emitted chunks are ignored
2024-09-19 17:03:30 -07:00
Nuno Campos and GitHub
b9fe38469f
Merge pull request #1773 from langchain-ai/nc/19sep/return-self
...
Allow chaning add_node/add_edge/etc calls
2024-09-19 17:02:27 -07:00
Nuno Campos
94e64f87b1
Allow chaning add_node/add_edge/etc calls
2024-09-19 16:54:00 -07:00
Nuno Campos and GitHub
0bbe461785
Merge pull request #1771 from langchain-ai/nc/19sep/mypy-langgraph-partial
...
Enable mypy for langgraph lib
2024-09-19 16:53:42 -07:00
Nuno Campos
7643c1171f
Lint
2024-09-19 16:49:05 -07:00
Nuno Campos and GitHub
ed27e54761
Update graph.py
2024-09-19 16:41:46 -07:00
Jacob Lee and GitHub
ec1f425632
Update algo.py
2024-09-19 15:53:50 -07:00
jacoblee93
093af1a893
Use imported constant for namespace end
2024-09-19 15:07:30 -07:00
Nuno Campos and GitHub
e96934533e
Update graph.py
2024-09-19 15:06:39 -07:00
a47dc2b634
Apply suggestions from code review
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-09-19 14:37:32 -07:00
Nuno Campos
95c1ca3adc
Fix
2024-09-19 13:20:45 -07:00
Lance Martin and GitHub
0cf1a13dab
Update conceptual docs for multiple schema ( #1770 )
...
* Update conceptual docs for multiple schema
* Link to conceptual docs from How-To
2024-09-19 13:20:20 -07:00
Nuno Campos
5de9b35416
Finish
2024-09-19 13:01:54 -07:00
Nuno Campos
4f767cd2ca
Fix
2024-09-19 11:46:21 -07:00
Nuno Campos
cc318b1156
Fix
2024-09-19 11:43:30 -07:00
Nuno Campos
9a8cc75ea2
Fix some typing issues in langgraph lib
2024-09-19 11:38:41 -07:00
Isaac Francisco and GitHub
96f9d29a43
stop before recursion limit callout ( #1769 )
2024-09-19 18:00:31 +00:00
Isaac Francisco and GitHub
c44f10c05e
docs: return state before recursion limit is hit ( #1736 )
...
* recursion limit return state
* links
* spelling
* remove bad link
2024-09-19 10:40:35 -07:00
Nuno Campos and GitHub
4065ac33d3
Merge pull request #1768 from langchain-ai/nc/19sep/mypy-sqlite
...
ci: Enable mypy checks for checkpoint-sqlite lib
2024-09-19 10:38:34 -07:00
Isaac Francisco and GitHub
55f8bb5227
docs: replaying from subgraph node ( #1759 )
...
* edits
* extra comment
2024-09-19 09:58:14 -07:00
Nuno Campos and GitHub
dc360fd342
Merge pull request #1767 from langchain-ai/nc/19sep/mypy-postgres
...
ci: Enable mypy checks for checkpoint-postgres lib
2024-09-19 09:27:38 -07:00
Nuno Campos
b529365f5b
Remove ignore for 3.9
2024-09-19 09:19:26 -07:00
Nuno Campos
fdf7bad988
Remove ignore for 3.9
2024-09-19 09:19:00 -07:00
Nuno Campos
faa652cbf4
Only lint on 3.12
2024-09-19 09:18:36 -07:00
Nuno Campos
95304d658a
Fix 3.9
2024-09-19 08:51:15 -07:00
Nuno Campos
495d258322
Fix 3.9
2024-09-19 08:50:17 -07:00
Nuno Campos and GitHub
bc95a797a9
Merge pull request #1766 from langchain-ai/nc/18sep/mypy-checkpoint
...
ci: Enable mypy checks for checkpoint lib
2024-09-19 08:47:05 -07:00
Nuno Campos
6c0339ca4b
ci: Enable mypy checks for checkpoint-sqlite lib
2024-09-19 08:46:44 -07:00
Nuno Campos
b8a8651c23
ci: Enable mypy checks for checkpoint-postgres lib
2024-09-19 08:40:31 -07:00
Nuno Campos
c793a9e36d
Use type var default
2024-09-19 08:28:59 -07:00
Nuno Campos
333c5f5501
Fix type issues in tests
2024-09-18 18:16:51 -07:00
Nuno Campos
4d26c3599f
ci: Enable mypy checks for checkpoint lib
2024-09-18 18:12:11 -07:00
Andrew Nguonly and GitHub
d4ba315ae2
Add section for LANGCHAIN_TRACING_SAMPLING_RATE to env vars page. ( #1760 )
2024-09-18 15:08:00 -07:00
Nuno Campos and GitHub
4ba803b415
Merge pull request #1751 from langchain-ai/nc/17sep/stream-messages
...
Add stream_mode=messages
2024-09-18 14:01:12 -07:00
Nuno Campos
9235178c88
Finish
2024-09-18 13:56:04 -07:00
22c78050dd
docs: Clarify default_retry_on retry behavior for exceptions ( #1754 )
...
* docs: Clarify exceptions retried by default_retry_on in retry policy tutorial
- Added a remark in the tutorial explaining that the `default_retry_on` function retries on any exception except for the following:
- ValueError
- TypeError
- ArithmeticError
- ImportError
- LookupError
- NameError
- SyntaxError
- RuntimeError
- ReferenceError
- StopIteration
- StopAsyncIteration
- OSError
* http status codes
---------
Co-authored-by: Itay Etelis <itay.etelis@ibm.com >
Co-authored-by: isaac hershenson <ihershenson@hmc.edu >
2024-09-18 20:48:10 +00:00
Nuno Campos and GitHub
babcf10c1c
Merge pull request #1688 from langchain-ai/wfh/tracing_interops_norebase
...
Add tracing propagation test
2024-09-18 13:43:58 -07:00
William Fu-Hinthorn and Nuno Campos
2d98024487
Assert invariants
2024-09-18 13:37:38 -07:00
William Fu-Hinthorn and Nuno Campos
f7d440ec5f
Add tracing propagation test
2024-09-18 13:37:33 -07:00
Nuno Campos
efb572f15b
Add missing branch
2024-09-18 13:18:37 -07:00
William FH and GitHub
b062b2462f
[Docs] Add add message ref ( #1758 )
2024-09-18 13:13:39 -07:00
Nuno Campos and GitHub
d46fd258bf
Merge pull request #1753 from Etelis/bugfix-retry-nodes-exception-handling
...
[Bug Fix] retry_on handling and add support for lists in RetryPolicy
2024-09-18 13:01:38 -07:00
Nuno Campos and GitHub
e40aabb1c1
Update retry.py
2024-09-18 10:36:40 -07:00
Nuno Campos and GitHub
0bfeb7f4e1
Update types.py
2024-09-18 10:24:28 -07:00
Nuno Campos and GitHub
fd0b52f4ff
Update retry.py
2024-09-18 10:23:52 -07:00
Nuno Campos and GitHub
f4962479d8
Merge pull request #1757 from langchain-ai/nc/18sep/unit-test-cancelled
...
Add one more unit test for exception propagation
2024-09-18 09:01:31 -07:00