Replies: 2 comments
-
📝 CodeRabbit Plan ModeGenerate an implementation plan and prompts that you can use with your favorite coding agent.
🔗 Similar IssuesRelated Issues 👤 Suggested Assignees🧪 Issue enrichment is currently in open beta.You can configure auto-planning by selecting labels in the issue_enrichment configuration. To disable automatic issue enrichment, add the following to your issue_enrichment:
auto_enrich:
enabled: false💬 Have feedback or questions? Drop into our discord or schedule a call! |
Beta Was this translation helpful? Give feedback.
-
|
Well after checking out the source and chatting with AI, it seems the answer is this:
In summary, in your backend route (e.g. /api/chat/route.ts), when processing message parts:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if any Ollama supported models support file input, but even if they did, I'm sure the current attachment logic with ai-sdk's runtime in assistant-ui won't work. Therefore, if I wanted to resort to extracting the content of attachments, and passing them into the message as context, specifically for ollama, while keeping existing attachment functionality for other providers like openAi and anthropic (which work out of the box), how would I do that?
Essentially i'm trying to support both local LLM usage and the big providers, but i want to keep attachments working for both, using the useChatRuntime (ai-sdk runtime).
anybody able to shed some light here?
Beta Was this translation helpful? Give feedback.
All reactions