Thread

A
Arjun10:34 AMOpen in Slack
Hi team, I've been stuck on this for a while. Here's my issue.
I've an agent called "head" that assigns work to other subagents each responsible for certain MCP tooling. There subagents are working perfectly and I have no qualms with their chats or their MCP tooling.
Now, when I try to go to "head" and send a message to try and use the subagents, it throws an error.
{"code":"unknown","message":"An unexpected error occurred. Please try again.","isRetryable":false,"originalError":{"provider":"cerebras","message":"Error: LLM Provider API key not configured. Please configure it in Chat Settings.","type":"Error","raw":{}}}
For additional context, keys are already configured in the following places -> the main settings, each agent setting also has the API key selected (including "head" itself).
Remediation tried -> docker restart, change API keys, clear out the cache, check env, do the whole thing again from scratch.
Am I using subagents wrong? As per my general understanding of subagents this is how it's supposed to be. There is nothing to say otherwise in the docs as well.
Of course, I can get my project to work by putting all the tools in a single chat (and it does) but that doesn't fully calm my curiosity. Appreciate what you guys do, cheers.

12 replies
A
Arjun10:39 AMOpen in Slack
Additionally, I would like to add that head works without the tool calling. So no issues from the API key end here.
IK
Innokentii Konstantinov (archestra team)10:42 AMOpen in Slack
What version of archestra are you running? You should see it at the very bottom of archestra
Also, you are using cerebras provider, right? Are there any other api keys confugured?
A
Arjun10:42 AMOpen in Slack
Archestra - Version: 1.0.42
No other keys configured.
IK
Innokentii Konstantinov (archestra team)10:56 AMOpen in Slack
Could you please send a screenshots of your keys page and how subagent is configured? Of course if it's comfortable for you
IK
Innokentii Konstantinov (archestra team)10:58 AMOpen in Slack
Also, I would be happy to jump on a call with you ti debug this
IK
Innokentii Konstantinov (archestra team)10:59 AMOpen in Slack
In the meanwhile, while I'm investigating the problem, try to set ARCHESTRACHATCEREBRASAPIKEY env var, it might help
A
Arjun12:05 PMOpen in Slack
attached - keys page, head agent, one of the subagents (analyst), agent builder
I ran the below command, still the same issue.
docker pull archestra/platform:latest;
docker run -p 9000:9000 -p 3000:3000 \
-e ARCHESTRA_QUICKSTART=true \
-e ARCHESTRACHATCEREBRASAPIKEY="key" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v archestra-postgres-data:/var/lib/postgresql/data \
-v archestra-app-data:/app/data \
archestra/platform;
IK
Innokentii Konstantinov (archestra team)12:05 PMOpen in Slack
I think I found a root cause, will release a fix in a hour
A
Arjun12:08 PMOpen in Slack
wow that's rapid, do let me in on this.
IK
Innokentii Konstantinov (archestra team)12:08 PMOpen in Slack
sure, I'll ping you once it's live
IK
Innokentii Konstantinov (archestra team)12:46 PMOpen in Slack
Release 1.0.43 is here. It should fix this problem. We inferred provider from model name incorrectly for cerebras and were failing to resolve an API key.
Please, give it a try 🙂
A
Arjun1:07 PMOpen in Slack
yes, fixed!
🙌1