Closed marcusschiesser closed 2 weeks ago
Latest commit: 0476b1db1f791bce2fbcd6fbd3bcd87a9339ef78
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/run-llama/create-llama/new/ms/add-gemini-anthropic?filename=.changeset/rude-pandas-dress.md&value=---%0A%22create-llama%22%3A%20patch%0A---%0A%0Afix%3A%20use%20generic%20LLMAgent%20instead%20of%20OpenAIAgent%20(adds%20support%20for%20Ge%E2%80%A6%0A)
[!CAUTION]
Review failed
The pull request is closed.
The changes introduce a patch named "create-llama" that replaces the OpenAIAgent
with a more generic LLMAgent
. This update enhances compatibility by adding support for Gemini and Anthropic in the context of Agentic Retrieval-Augmented Generation (RAG). The control flow is adjusted to effectively utilize the capabilities of the new agent type, while the overall structure and error handling in the createChatEngine
function remain unchanged.
File Path | Change Summary |
---|---|
.changeset/shy-bulldogs-wait.md | Added patch "create-llama" |
templates/components/engines/typescript/agent/chat.ts | Replaced OpenAIAgent with LLMAgent in import and instantiation within createChatEngine function. |
chat.ts
by replacing OpenAIAgent
with LLMAgent
.chat.ts
file, changing the visibility of the generateFilters
function, related to enhancing chat functionalities.OpenAIAgent
with LLMAgent
, emphasizing the shift towards a more generic agent type.🐇 In the meadow where llamas play,
A new agent hops in today.
With Gemini stars and Anthropic grace,
Our chat's now a more vibrant space!
So let’s cheer for the changes bright,
As we chat with joy, day and night! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
…mini and Anthropic for Agentic RAG)
Summary by CodeRabbit
New Features
Bug Fixes
Documentation