Commit Graph
125 Commits
Author SHA1 Message Date
98f5df4f6f ci: fix notebook runner & VCR cassette recorder (#1849)
Co-authored-by: vbarda <vadym@langchain.dev>
2024-09-27 17:56:55 -04:00
Isaac FranciscoandGitHub 662eae4359 adding tutorials to notebook checks (#1747)
* wip

* actually catch errors

* fixing tool-calling-errors and persistence-redis

* poetry changes

* poetry update

* run tutorials

* only tutorials (testing)

* print errors

* rewoo fixes

* remove customer support because of user input

* skip notebooks programatically

* add back how-tos

* remove redundant if

* add cassetes for tutorials

* remove no execution since it is generated by CI,

* remove multi-agent/usaco

* try to run in parallel

* skip notebooks fix

* remove magic/non-magic cells

* msgpack instead of yaml

* prepare_notebooks change

* ignore msgpack for spelling

* use compression for cassettes

* update spell check

* reset poetry changes

* upgrade packages for latest

* no update

* poetry changes
2024-09-20 12:11:23 -07:00
Nuno Campos faa652cbf4 Only lint on 3.12 2024-09-19 09:18:36 -07:00
fa792e9f74 Update core in poetry lock (#1717)
* Update core in poetry lock

* ci: update langgraph test job for core 0.3 release (#1715)

---------

Co-authored-by: Vadym Barda <vadym@langchain.dev>
2024-09-16 12:36:14 -07:00
Nuno Campos 289e72b75f Remove debug code 2024-09-16 10:44:20 -07:00
Nuno Campos 1943413d60 Debug again 2024-09-16 10:43:05 -07:00
Nuno Campos 5ec91445ac Debug baseline job 2024-09-16 10:42:24 -07:00
Nuno Campos 55d79b1507 Use unique cache keys 2024-09-13 16:42:59 -07:00
Vadym BardaandGitHub e87d3adb4c docs: add a README for updating notebooks/cassettes (#1705) 2024-09-13 12:56:23 -04:00
Vadym BardaandGitHub 0b40c83fa8 ci: add VCR caching to the notebooks (#1704) 2024-09-12 16:07:41 -04:00
Nuno CamposandGitHub 95b97d69ec Nc/12sep/perf (#1702)
* Remove unused fil;e

* Add benchmark-fast command for running locally

* Small improvements to jsonplus serializer

* Don't use PregelNode.mapper when schema is a typed dict

- All it would do is create a new copy of same dict

* Avoid copying checkpoint when fetching at beginning of loop

* Fix needs array

* Update tests
2024-09-12 12:50:53 -07:00
Nuno Campos 8e578a0f78 Add workflow dispatch 2024-09-12 11:07:39 -07:00
Nuno CamposandGitHub dd0c17dda9 ci: Cache baseline benchmark results (#1701) 2024-09-12 11:06:31 -07:00
Nuno CamposandGitHub 8f87cd1c91 Performance improvements in core library (#1683)
* Performance improvements in core library

- Avoid creating new callback manager when received one as arg
- Avoid looking for config when already received one as arg
- Avoid copies of values in ensure_config/merge_configs
- Implement version of ensure_config that accepts multiple configs (avoids calling merge_configs first)
- Avoid calling merge_configs when we only need to attach extra tags/metadata

* Fix

* Fix

* Try again

* Debug ci job

* Fix

* Try again

* Try again

* Try again

* Some more variations

* Attach annotation to first changed file

* Fix

* Re-enable benchmarks
2024-09-12 11:01:37 -07:00
vbarda fc4243ae67 ci: call -> dispatch for notebooks 2024-09-12 12:21:32 -04:00
Vadym BardaandGitHub 889cc9b394 ci: add GHA to execute how-to notebooks (#1694) 2024-09-12 15:39:15 +00:00
Nuno CamposandGitHub 33017b53d0 Update bench.yml 2024-09-11 16:38:06 -07:00
vbarda cd5f5c11f5 ci: update checks for overall CI success 2024-09-11 19:32:20 -04:00
Nuno Campos 50744bc846 Fix 2024-09-11 13:43:24 -07:00
Nuno Campos f179da00a0 update bench job 2024-09-11 13:41:45 -07:00
Nuno CamposandGitHub 8e275fa485 Merge pull request #1609 from langchain-ai/nc/4sep/benchmark
Add benchmark script
2024-09-11 12:29:22 -07:00
Nuno Campos de2850332d Rename 2024-09-11 12:27:10 -07:00
Nuno Campos bf4f8e67d8 Rename command 2024-09-11 12:25:22 -07:00
Nuno Campos 5f2e9aafce Fix 2024-09-11 12:22:18 -07:00
Nuno Campos 51b8cfca54 fix 2024-09-11 12:20:48 -07:00
Nuno Campos 309b259735 One more 2024-09-11 12:18:35 -07:00
Nuno Campos c00e8c2b46 Fix 2024-09-11 12:17:56 -07:00
Nuno Campos 710b4179da Add ci job 2024-09-11 12:14:06 -07:00
Vadym BardaandGitHub 229765c4a5 ci: update link check (#1680) 2024-09-11 13:16:55 -04:00
Vadym BardaandGitHub 4c59a5e249 ci: ignore link check for storm tutorial (#1679) 2024-09-11 13:08:46 -04:00
Vadym BardaandGitHub 1f9273b136 docs: put documentation in the docs folder instead of examples (#1674) 2024-09-11 12:27:31 -04:00
Vadym BardaandGitHub f3b5d804ab ci: fix kafka scheduler, split langgraph and kafka into separate test jobs (#1677) 2024-09-11 10:55:11 -04:00
Nuno Campos 34d530d5d8 Fix 2024-09-10 17:24:24 -07:00
Nuno Campos 2b09c284d4 Remove empty build job 2024-09-10 17:22:48 -07:00
Nuno Campos 77083bf634 Disable test jobs for now 2024-09-10 17:22:06 -07:00
vbarda bb10acbe28 update cache keys 2024-09-10 19:51:23 -04:00
Nuno Campos fed6499a2e Run ci for kafka lib 2024-09-10 16:17:22 -07:00
Vadym BardaandGitHub 5d4b276af2 ci: remove preview step (#1675) 2024-09-10 18:25:13 +00:00
db306cd01b doc updates (#1639)
---------

Co-authored-by: vbarda <vadym@langchain.dev>
2024-09-08 16:55:52 +00:00
Vadym BardaandGitHub 282562f182 langgraph: add tests for MessagesState/AnyMessage (#1637)
* langgraph: add tests for MessagesState/AnyMessage

* bump to 0.3.0.dev4

* update

* update snapshots
2024-09-07 17:00:41 -04:00
Vadym BardaandGitHub 7bf99a5d2f langgraph: changes for compatibility pydantic v2 / langchain-core==0.3 (#1594) 2024-09-05 15:26:35 -04:00
Vadym BardaandGitHub 314488b5c5 ci: run full test suite on all changes (#1397) 2024-08-20 08:47:12 -04:00
b37f78942d checkpoint-postgres: new library for postgres checkpointer implementation (#1236)
* checkpoint-postgres: new library for postgres checkpointer implementation

---------

Co-authored-by: Nuno Campos <nuno@langchain.dev>
2024-08-06 22:37:06 -04:00
Vadym BardaandGitHub 7b441e64e7 ci: update import pre-release check (#1209)
* ci: update import pre-release check

* fix
2024-08-02 18:58:04 -04:00
Vadym BardaandGitHub 351a29fcfb ci: handle initial library version in tags (#1208) 2024-08-02 18:44:25 -04:00
Vadym BardaandGitHub c149a99b44 checkpoint-sqlite: new library for sqlite checkpointer implementation (#1203)
* checkpoint-sqlite: new library for sqlite checkpointer implementation
2024-08-02 22:14:12 +00:00
Nuno Campos eb762c4a77 Undo 2024-07-31 15:02:25 -07:00
Nuno Campos ea5eb73b9f Enable builds outside of master 2024-07-31 15:00:44 -07:00
Nuno Campos 045c2af663 Remove test image 2024-07-25 10:20:03 -07:00
Nuno Campos 23d3a7ac07 Improve output 2024-07-25 10:18:55 -07:00