4 Commits

Author SHA1 Message Date
Manuel de la Peña 8d4c17fc73 ci: migrate linting golangci-lint to v2.0.2 (#1217)
* chore: use slices and maps packages

* chore: skip embedded type

* chore: use fmt.Fprint instead

* chore: use switch

* chore: reorder imports

* chore: add white lines

* chore: use t.Setenv

* chore: excplicitly omit non used param

* chore: use t.TempDir

* chore: use maps package

* chore: migrate golangci-lint config file

Run: "golangci-lint migrate -c .golangci.yaml --skip-validation"

* chore: bump golangci-lint action to v7
2025-04-12 01:54:50 -07:00
Eli Bendersky 556a263188 schema: move Chat* types to llms (#757)
* schema: move Chat* types to llms

This prevents a circular dependency or code duplication when using Tools
2024-04-16 23:35:51 -07:00
Abirdcfly 008cf7d469 memory: fix cutMessages in ConversationWindowBuffer
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2024-01-19 11:52:21 +08:00
Abirdcfly affaa87bdd memory: add ConversationWindowBuffer (#411)
Port the ConversationBufferWindowMemory class from langchain python in langchaingo

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
2023-12-28 15:24:35 -08:00