mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-04 20:25:05 -05:00
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/tmc/langchaingo](https://redirect.github.com/tmc/langchaingo) | `v0.1.13` -> `v0.1.14` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>tmc/langchaingo (github.com/tmc/langchaingo)</summary> ### [`v0.1.14`](https://redirect.github.com/tmc/langchaingo/releases/tag/v0.1.14) [Compare Source](https://redirect.github.com/tmc/langchaingo/compare/v0.1.13...v0.1.14) #### What's Changed - anthropic: Add support for multi content part and images content in human messages. by [@​Neofox](https://redirect.github.com/Neofox) in [#​1141](https://redirect.github.com/tmc/langchaingo/pull/1141) - llms: implement StreamingReasoningFunc for reasoning models by [@​douglarek](https://redirect.github.com/douglarek) in [#​1125](https://redirect.github.com/tmc/langchaingo/pull/1125) - ci: migrate linting golangci-lint to v2.0.2 by [@​mdelapenya](https://redirect.github.com/mdelapenya) in [#​1217](https://redirect.github.com/tmc/langchaingo/pull/1217) - vectorstore: Add interfaces for Google AlloyDB and Cloud SQL by [@​averikitsch](https://redirect.github.com/averikitsch) in [#​1204](https://redirect.github.com/tmc/langchaingo/pull/1204) - memory: add interfaces for Google AlloyDB and Cloud SQL by [@​averikitsch](https://redirect.github.com/averikitsch) in [#​1205](https://redirect.github.com/tmc/langchaingo/pull/1205) - llms/openai: replace deprecated gpt-4-vision-preview with gpt-4o in TestMultiContentImage by [@​karsharma10](https://redirect.github.com/karsharma10) in [#​1238](https://redirect.github.com/tmc/langchaingo/pull/1238) - googleai: fix issue where gemini would ignore all but the first tool by [@​jpoz](https://redirect.github.com/jpoz) in [#​1244](https://redirect.github.com/tmc/langchaingo/pull/1244) - vectorstores: add Bedrock Knowledge Bases vectorstore support by [@​lucaronca](https://redirect.github.com/lucaronca) in [#​1200](https://redirect.github.com/tmc/langchaingo/pull/1200) - bedrock: Improve bedrock provider extraction from model id by [@​lucaronca](https://redirect.github.com/lucaronca) in [#​1135](https://redirect.github.com/tmc/langchaingo/pull/1135) - duckduckgo: descriptive error message by [@​lmorg](https://redirect.github.com/lmorg) in [#​1260](https://redirect.github.com/tmc/langchaingo/pull/1260) - examples: Fix examples and complete linting upgrade by [@​tmc](https://redirect.github.com/tmc) in [#​1288](https://redirect.github.com/tmc/langchaingo/pull/1288) - httprr: add httprr package by [@​tmc](https://redirect.github.com/tmc) in [#​1296](https://redirect.github.com/tmc/langchaingo/pull/1296) - all: add broad httprr coverage, update dependencies, organize go.mod file, bump to 1.23 by [@​tmc](https://redirect.github.com/tmc) in [#​1299](https://redirect.github.com/tmc/langchaingo/pull/1299) - googleai: Replace `textembedding-gecko` with `text-embedding-005` in its PaLM Client by [@​alanrichman](https://redirect.github.com/alanrichman) in [#​1292](https://redirect.github.com/tmc/langchaingo/pull/1292) - all: expand test coverage by [@​tmc](https://redirect.github.com/tmc) in [#​1312](https://redirect.github.com/tmc/langchaingo/pull/1312) - docs: refactor documentation site content, structure by [@​tmc](https://redirect.github.com/tmc) in [#​1311](https://redirect.github.com/tmc/langchaingo/pull/1311) - docs: follow-on and fix search indexing by [@​tmc](https://redirect.github.com/tmc) in [#​1313](https://redirect.github.com/tmc/langchaingo/pull/1313) - docs:fix typo error, openAI and anthropic use withToken instead of wi… by [@​BowieHe](https://redirect.github.com/BowieHe) in [#​1314](https://redirect.github.com/tmc/langchaingo/pull/1314) - vectorstores: add WithEndpoint option for Azure AI Search by [@​thecoons](https://redirect.github.com/thecoons) in [#​1308](https://redirect.github.com/tmc/langchaingo/pull/1308) - deps: update dependencies by [@​tmc](https://redirect.github.com/tmc) in [#​1319](https://redirect.github.com/tmc/langchaingo/pull/1319) - bedrockclient: add support for new Amazon Nova models by [@​oryanmoshe](https://redirect.github.com/oryanmoshe) in [#​1083](https://redirect.github.com/tmc/langchaingo/pull/1083) - ollama: Fix path and align new payloads requirements by [@​iButcat](https://redirect.github.com/iButcat) in [#​1317](https://redirect.github.com/tmc/langchaingo/pull/1317) - agents: Add more robust response handling to executor.go by [@​xiazemin](https://redirect.github.com/xiazemin) in [#​1316](https://redirect.github.com/tmc/langchaingo/pull/1316) - prompts: Prompt template improvements and docs expansion by [@​tmc](https://redirect.github.com/tmc) in [#​1348](https://redirect.github.com/tmc/langchaingo/pull/1348) - ollama: Add support for reasoning mode (think parameter) by [@​tmc](https://redirect.github.com/tmc) in [#​1349](https://redirect.github.com/tmc/langchaingo/pull/1349) - ollama: Add httprr test recordings for think parameter by [@​tmc](https://redirect.github.com/tmc) in [#​1351](https://redirect.github.com/tmc/langchaingo/pull/1351) - llms/openai: add OpenRouter support with streaming fix by [@​tmc](https://redirect.github.com/tmc) in [#​1350](https://redirect.github.com/tmc/langchaingo/pull/1350) - deps: update Go version to 1.23.8 and toolchain to 1.24.6 by [@​tmc](https://redirect.github.com/tmc) in [#​1352](https://redirect.github.com/tmc/langchaingo/pull/1352) - examples: update to use v0.1.14-pre.0 by [@​tmc](https://redirect.github.com/tmc) in [#​1353](https://redirect.github.com/tmc/langchaingo/pull/1353) - llms/bedrock: fix whitespace formatting by [@​tmc](https://redirect.github.com/tmc) in [#​1360](https://redirect.github.com/tmc/langchaingo/pull/1360) - llms/googleai: fix multi-tool support for Google AI and Vertex AI by [@​tmc](https://redirect.github.com/tmc) in [#​1361](https://redirect.github.com/tmc/langchaingo/pull/1361) - vectorstores: add MariaDB and Dolt vector store implementations by [@​tmc](https://redirect.github.com/tmc) in [#​1363](https://redirect.github.com/tmc/langchaingo/pull/1363) - agents: improve robustness of MRKL and OpenAI Functions agents by [@​tmc](https://redirect.github.com/tmc) in [#​1362](https://redirect.github.com/tmc/langchaingo/pull/1362) - llms: fix memory and goroutine leaks in GoogleAI/Vertex and OpenAI streaming by [@​tmc](https://redirect.github.com/tmc) in [#​1364](https://redirect.github.com/tmc/langchaingo/pull/1364) - llms/openai: improve SSE comment handling in streaming responses by [@​tmc](https://redirect.github.com/tmc) in [#​1366](https://redirect.github.com/tmc/langchaingo/pull/1366) - openai: add support for max\_tokens by [@​kid-icarus](https://redirect.github.com/kid-icarus) in [#​1359](https://redirect.github.com/tmc/langchaingo/pull/1359) - openaiclient: add dimensions option while creating embeddings by [@​JLugagne](https://redirect.github.com/JLugagne) in [#​1338](https://redirect.github.com/tmc/langchaingo/pull/1338) - llms/anthropic: allow streaming responses with tool use by [@​jpoz](https://redirect.github.com/jpoz) in [#​1343](https://redirect.github.com/tmc/langchaingo/pull/1343) - llms/bedrock: add modelProvider option and Nova model support by [@​dreamans](https://redirect.github.com/dreamans) in [#​1346](https://redirect.github.com/tmc/langchaingo/pull/1346) - googleai: ensure googleai schema conversion works with nested objects and arrays by [@​kid-icarus](https://redirect.github.com/kid-icarus) in [#​1326](https://redirect.github.com/tmc/langchaingo/pull/1326) - googleai: add `ReasoningContent` field to openai `GenerateContent` functio… by [@​topjohncian](https://redirect.github.com/topjohncian) in [#​1324](https://redirect.github.com/tmc/langchaingo/pull/1324) - bedrock: add tool calling support for Anthropic Claude models by [@​manishiitg](https://redirect.github.com/manishiitg) in [#​1327](https://redirect.github.com/tmc/langchaingo/pull/1327) - llms/bedrock: complete Anthropic tool calling support by [@​tmc](https://redirect.github.com/tmc) in [#​1367](https://redirect.github.com/tmc/langchaingo/pull/1367) - httprr: improve test recording stability and add utilities by [@​tmc](https://redirect.github.com/tmc) in [#​1368](https://redirect.github.com/tmc/langchaingo/pull/1368) - Revert "openai: add support for max\_tokens ([#​1359](https://redirect.github.com/tmc/langchaingo/issues/1359))" by [@​kid-icarus](https://redirect.github.com/kid-icarus) in [#​1369](https://redirect.github.com/tmc/langchaingo/pull/1369) - mongovector: fix expected error string in non-tokenized filter test by [@​matthewdale](https://redirect.github.com/matthewdale) in [#​1331](https://redirect.github.com/tmc/langchaingo/pull/1331) - googleai: fix user provided embedding model getting overridden by default model by [@​ancalabrese](https://redirect.github.com/ancalabrese) in [#​1307](https://redirect.github.com/tmc/langchaingo/pull/1307) - openai: add robust max\_tokens support with backward compatibility by [@​tmc](https://redirect.github.com/tmc) in [#​1371](https://redirect.github.com/tmc/langchaingo/pull/1371) - llms/ollama: fix panic when context is cancelled during streaming by [@​tmc](https://redirect.github.com/tmc) in [#​1372](https://redirect.github.com/tmc/langchaingo/pull/1372) - examples: update examples to v0.1.14-pre.2 by [@​tmc](https://redirect.github.com/tmc) in [#​1373](https://redirect.github.com/tmc/langchaingo/pull/1373) - docs: Tools Doc URL was not working by [@​rafian-git](https://redirect.github.com/rafian-git) in [#​1309](https://redirect.github.com/tmc/langchaingo/pull/1309) - openai: fix temperature handling for reasoning models (GPT-5, o1, o3) by [@​tmc](https://redirect.github.com/tmc) in [#​1374](https://redirect.github.com/tmc/langchaingo/pull/1374) - test: improve test resilience and update provider APIs by [@​tmc](https://redirect.github.com/tmc) in [#​1377](https://redirect.github.com/tmc/langchaingo/pull/1377) - test: improve test coverage and optimize storage with gzip compression by [@​tmc](https://redirect.github.com/tmc) in [#​1378](https://redirect.github.com/tmc/langchaingo/pull/1378) - examples: update examples to v0.1.14-pre.3 by [@​tmc](https://redirect.github.com/tmc) in [#​1379](https://redirect.github.com/tmc/langchaingo/pull/1379) - openai: expose all available token usage details by [@​rainu](https://redirect.github.com/rainu) in [#​1278](https://redirect.github.com/tmc/langchaingo/pull/1278) - openai: filter out open ai max token metadata by [@​kid-icarus](https://redirect.github.com/kid-icarus) in [#​1376](https://redirect.github.com/tmc/langchaingo/pull/1376) - examples/groq: fix max\_tokens compatibility issue by [@​tmc](https://redirect.github.com/tmc) in [#​1382](https://redirect.github.com/tmc/langchaingo/pull/1382) - examples/groq: fixup groq example by [@​tmc](https://redirect.github.com/tmc) in [#​1385](https://redirect.github.com/tmc/langchaingo/pull/1385) - internal/httprr, vectorstores/azureaisearch: fix race conditions in tests by [@​tmc](https://redirect.github.com/tmc) in [#​1381](https://redirect.github.com/tmc/langchaingo/pull/1381) - tools/scraper: fix context cancellation hanging by [@​tmc](https://redirect.github.com/tmc) in [#​1383](https://redirect.github.com/tmc/langchaingo/pull/1383) - agents,llms/anthropic: prevent panics in agent parsing and Anthropic responses by [@​tmc](https://redirect.github.com/tmc) in [#​1380](https://redirect.github.com/tmc/langchaingo/pull/1380) - llms: add prompt caching and reasoning token support by [@​tmc](https://redirect.github.com/tmc) in [#​1394](https://redirect.github.com/tmc/langchaingo/pull/1394) - tools: Add max pages limit for scraper functionality by [@​JJ-H](https://redirect.github.com/JJ-H) in [#​1295](https://redirect.github.com/tmc/langchaingo/pull/1295) - vectorstores/milvus: update deprecation notice for archived SDK by [@​tmc](https://redirect.github.com/tmc) in [#​1398](https://redirect.github.com/tmc/langchaingo/pull/1398) - docs: complete the incomplete basic chat app tutorial by [@​tmc](https://redirect.github.com/tmc) in [#​1399](https://redirect.github.com/tmc/langchaingo/pull/1399) - examples: update to v0.1.14-pre.4 by [@​tmc](https://redirect.github.com/tmc) in [#​1401](https://redirect.github.com/tmc/langchaingo/pull/1401) - docs: fix API references and complete integration documentation by [@​tmc](https://redirect.github.com/tmc) in [#​1402](https://redirect.github.com/tmc/langchaingo/pull/1402) - examples: fix typo in openai-chat-example.go of maximum tokens per generation, old: 104 tokens, fix: 1024 tokens by [@​SSSKrut](https://redirect.github.com/SSSKrut) in [#​1392](https://redirect.github.com/tmc/langchaingo/pull/1392) - llms: update model context sizes for GPT-4o and GPT-4 Turbo by [@​paulnegz](https://redirect.github.com/paulnegz) in [#​1389](https://redirect.github.com/tmc/langchaingo/pull/1389) - documentloaders: add RecursiveDirectoryLoader that loads documents with allowed extensions from a directory by [@​zhu733756](https://redirect.github.com/zhu733756) in [#​1386](https://redirect.github.com/tmc/langchaingo/pull/1386) - httputil: enhance JSONDebugClient with SSE and header debugging by [@​tmc](https://redirect.github.com/tmc) in [#​1404](https://redirect.github.com/tmc/langchaingo/pull/1404) - vectorstores/milvus: complete migration to new SDK v2 client by [@​tmc](https://redirect.github.com/tmc) in [#​1403](https://redirect.github.com/tmc/langchaingo/pull/1403) - anthropic: add improved streaming thinking/reasoning token support by [@​tmc](https://redirect.github.com/tmc) in [#​1418](https://redirect.github.com/tmc/langchaingo/pull/1418) - agents: fix ChainCallOption silent failure by [@​tmc](https://redirect.github.com/tmc) in [#​1420](https://redirect.github.com/tmc/langchaingo/pull/1420) - llms/openai: sanitize HTTP errors to prevent API key exposure by [@​tmc](https://redirect.github.com/tmc) in [#​1419](https://redirect.github.com/tmc/langchaingo/pull/1419) - agents: allow match from multiple lines for parseOutput function by [@​hemarina](https://redirect.github.com/hemarina) in [#​1415](https://redirect.github.com/tmc/langchaingo/pull/1415) #### New Contributors - [@​Neofox](https://redirect.github.com/Neofox) made their first contribution in [#​1141](https://redirect.github.com/tmc/langchaingo/pull/1141) - [@​averikitsch](https://redirect.github.com/averikitsch) made their first contribution in [#​1204](https://redirect.github.com/tmc/langchaingo/pull/1204) - [@​karsharma10](https://redirect.github.com/karsharma10) made their first contribution in [#​1238](https://redirect.github.com/tmc/langchaingo/pull/1238) - [@​jpoz](https://redirect.github.com/jpoz) made their first contribution in [#​1244](https://redirect.github.com/tmc/langchaingo/pull/1244) - [@​lmorg](https://redirect.github.com/lmorg) made their first contribution in [#​1260](https://redirect.github.com/tmc/langchaingo/pull/1260) - [@​alanrichman](https://redirect.github.com/alanrichman) made their first contribution in [#​1292](https://redirect.github.com/tmc/langchaingo/pull/1292) - [@​BowieHe](https://redirect.github.com/BowieHe) made their first contribution in [#​1314](https://redirect.github.com/tmc/langchaingo/pull/1314) - [@​thecoons](https://redirect.github.com/thecoons) made their first contribution in [#​1308](https://redirect.github.com/tmc/langchaingo/pull/1308) - [@​oryanmoshe](https://redirect.github.com/oryanmoshe) made their first contribution in [#​1083](https://redirect.github.com/tmc/langchaingo/pull/1083) - [@​iButcat](https://redirect.github.com/iButcat) made their first contribution in [#​1317](https://redirect.github.com/tmc/langchaingo/pull/1317) - [@​xiazemin](https://redirect.github.com/xiazemin) made their first contribution in [#​1316](https://redirect.github.com/tmc/langchaingo/pull/1316) - [@​kid-icarus](https://redirect.github.com/kid-icarus) made their first contribution in [#​1359](https://redirect.github.com/tmc/langchaingo/pull/1359) - [@​JLugagne](https://redirect.github.com/JLugagne) made their first contribution in [#​1338](https://redirect.github.com/tmc/langchaingo/pull/1338) - [@​dreamans](https://redirect.github.com/dreamans) made their first contribution in [#​1346](https://redirect.github.com/tmc/langchaingo/pull/1346) - [@​topjohncian](https://redirect.github.com/topjohncian) made their first contribution in [#​1324](https://redirect.github.com/tmc/langchaingo/pull/1324) - [@​manishiitg](https://redirect.github.com/manishiitg) made their first contribution in [#​1327](https://redirect.github.com/tmc/langchaingo/pull/1327) - [@​matthewdale](https://redirect.github.com/matthewdale) made their first contribution in [#​1331](https://redirect.github.com/tmc/langchaingo/pull/1331) - [@​ancalabrese](https://redirect.github.com/ancalabrese) made their first contribution in [#​1307](https://redirect.github.com/tmc/langchaingo/pull/1307) - [@​rafian-git](https://redirect.github.com/rafian-git) made their first contribution in [#​1309](https://redirect.github.com/tmc/langchaingo/pull/1309) - [@​rainu](https://redirect.github.com/rainu) made their first contribution in [#​1278](https://redirect.github.com/tmc/langchaingo/pull/1278) - [@​JJ-H](https://redirect.github.com/JJ-H) made their first contribution in [#​1295](https://redirect.github.com/tmc/langchaingo/pull/1295) - [@​SSSKrut](https://redirect.github.com/SSSKrut) made their first contribution in [#​1392](https://redirect.github.com/tmc/langchaingo/pull/1392) - [@​paulnegz](https://redirect.github.com/paulnegz) made their first contribution in [#​1389](https://redirect.github.com/tmc/langchaingo/pull/1389) - [@​zhu733756](https://redirect.github.com/zhu733756) made their first contribution in [#​1386](https://redirect.github.com/tmc/langchaingo/pull/1386) - [@​hemarina](https://redirect.github.com/hemarina) made their first contribution in [#​1415](https://redirect.github.com/tmc/langchaingo/pull/1415) **Full Changelog**: <https://github.com/tmc/langchaingo/compare/v0.1.13...v0.1.14> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>