assistant-toolkit
assistant-toolkit copied to clipboard
feat(testitall): Webhook Auth and Resp Sizes Cumulative Updates
- updated webhook auth endpoints to support new auth types, and return more helpful error/success messages
- replace all the payload strings to randomly generated string to avoid being compressed
- renamed the endpoint
/context-too-largeto/response-too-large, as it is used to test the extension call response size limit (100KB) - changed the endpoint
/context-almost-too-largeto return a response with size of 65KB, which is half of the session size limit (~130KB)- updated the
Test handle an almost too large response for context storageaction to save the response to session twice to trigger the session size limit error
- updated the
- added endpoint
/webhook/headersfor testing webhook with custom headers - added endpoint
/webhooks/error/too-largefor testing too large (>4MB) responses from webhooks- size controlled by env var
WEBHOOK_RESPONSE_SIZE_LIMIT
- size controlled by env var
- added endpoint
/webhooks/largefor testing large (~3.9MB) responses from webhooks - for oauth custom flow, now also checking for
apikey_id=WA_CUSTOM_APIKEY_ID - added endpoint
/test/stream/jsonfor testing streaming responses with json objects - updated testitall.actions.json and testitall.openapi.json to include the changes above