like-gold
like-gold3d ago

Headers not being added to dynamic handoff tool request

With the handoff tool, we are able to request a handoff based off of a dynamic server endpoint. The documentation says that we should be able to add in headers as key-value pairs, but those headers are not coming through on the request { type: "handoff", destinations: [ { type: "dynamic", server: { url: "<URL>", headers: { Authorization: "Bearer auth-token", }, }, description: "English", }, ], function: { name: "handoff_to_english", }, },
1 Reply
like-gold
like-goldOP3d ago
If we add it to the assistant -> server -> headers it is included in that request. It would still be nice to have the option to add it specifically to each tool call, but we are unblocked for now so this is not urgent.

Did you find this page helpful?