/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 3cec9af43334 */ import { assert, expect, it, test } from "vitest"; import { Glean } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; it.skip("Agents Runagent", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step runagent.test referencing operation runagent not found in document`]", ); }); it.skip("Agents Listagents", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step listagents.test referencing operation listagents not found in document`]", ); }); it.skip("Agents Getagentinputs", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step getagentinputs.test referencing operation getagentinputs not found in document`]", ); }); test("Agents Get Agent", async () => { const testHttpClient = createTestHTTPClient("getAgent"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", httpClient: testHttpClient, apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); const result = await glean.client.agents.retrieve(""); expect(result).toBeDefined(); }); test("Agents Get Agent Schemas", async () => { const testHttpClient = createTestHTTPClient("getAgentSchemas"); const glean = new Glean({ serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", httpClient: testHttpClient, apiToken: process.env["GLEAN_API_TOKEN"] ?? "value", }); const result = await glean.client.agents.retrieveSchemas(""); expect(result).toBeDefined(); }); it.skip("Agents Search Agents", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step searchAgents.test referencing operation searchAgents is missing required request body`]", ); }); it.skip("Agents Create And Stream Run", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step createAndStreamRun.test referencing operation createAndStreamRun is missing required request body`]", ); }); it.skip("Agents Create And Wait Run", async () => { assert.fail( "incomplete test found please make sure to address the following errors: [`workflow step createAndWaitRun.test referencing operation createAndWaitRun is missing required request body`]", ); });