I have a direct to LLM connection to Bedrock and I'm trying to update our working version of this project to 1.5. We have no langraph agents, we've been managing our agent code primarily using the frontend options from the eariler version of the project.
I've tried this using the built in bedrock adaptor, and a custom bedrock adaptor, and I run into some version of the same error (this example is using the build in bedrock adapter):
Agent execution failed: Error: Unknown provider "bedrock" in "bedrock/amazon.nova-lite-v1:0". Supported: openai, anthropic, google (gemini).
Which I can trace back to:
In @copilotkit/runtime/src/lib/runtime/copilot-runtime.ts:384:
if (isAgentsListEmpty) {
agentsList.default = new BuiltInAgent({
model: `${serviceAdapter.provider}/${serviceAdapter.model}`,
});
}
It seems to be instantiating a basic agent, since I don't have any configured, but it seems that to configure one I'd need to use one of the above providers directly. Can I bypass this or do we need to stand up a langraph agent? Is there any direct to LLM support outside of these clients? I've tried to use the delegateAgentProcessingToServiceAdapter: true flag I found, but it hasn't made a difference.