diff --git a/tests/post_transform_smoke.test.js b/tests/post_transform_smoke.test.js index f56bd3c0..58d788fa 100644 --- a/tests/post_transform_smoke.test.js +++ b/tests/post_transform_smoke.test.js @@ -182,6 +182,12 @@ describe('Post-transformation smoke tests', () => { group: 'search', nameOverride: 'query', }, + { + path: '/api/chat', + method: 'post', + group: 'chat', + nameOverride: 'create', + }, ]; for (const { path, method, group, nameOverride } of platformOps) { @@ -222,7 +228,7 @@ describe('Post-transformation smoke tests', () => { // without a group silently falls back to its `tags` and leaks a method to // the SDK top level. The top level is reserved for the Platform API, so // client/indexing operations must be nested under `client.*` / `indexing.*`. - const platformSegments = new Set(['agents', 'search', 'skills']); + const platformSegments = new Set(['agents', 'chat', 'search', 'skills']); const allowedTopLevelSegments = new Set([ 'client', 'indexing',