Squad variableValues Member Overrides for assistan...
# support
t
For an "assistant-request" server message type, I want to respond with a squadId and the overrides for the variableValues so that I can access those values in the prompt as, for example: {{first_name}} From my server I can do this with an assistant: return { "messageResponse": { "assistantId": action.assistant_id, "assistantOverrides": { "variableValues": { "first_name": "John" } } } } And that works, but I can't find a way to do it when I want to use a squad instead of an assistant. Based on the API documentation, I can't find anything like "squadOverrides", and the membersOverride appears inside the "squad" property, which I can't seem to use if I'm using "squadId".
k
Send them via the Update Call endpoint using the membersOverrides field, where each assistant in the squad gets its own assistantOverrides containing the variables..
s
Hey @Toches, checking if this is resolved/solved for you?