"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Responses = void 0;
const agentsResponsesCreate_js_1 = require("../funcs/agentsResponsesCreate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Responses extends sdks_js_1.ClientSDK {
    /**
     * Create response
     *
     * @remarks
     * Initiates an agent conversation and returns a complete response. This endpoint manages the full lifecycle of an agent interaction, from receiving the initial message through all processing steps until completion. Supports synchronous execution (waits for completion) and asynchronous execution (returns immediately with task ID). The response includes all messages exchanged, tool calls made, and token usage statistics. Ideal for request-response patterns where you need the complete interaction result.
     */
    async create(requestBody, agentKey, options) {
        return (0, fp_js_1.unwrapAsync)((0, agentsResponsesCreate_js_1.agentsResponsesCreate)(this, requestBody, agentKey, options));
    }
}
exports.Responses = Responses;
//# sourceMappingURL=responses.js.map