✅ Fix chat interface - restore continuous conversation flow
🎯 Major improvements to MissionControl component: - Always keep input field visible and functional after AI responses - Auto-clear input after submitting questions for better UX - Add dynamic visual indicators (first question vs follow-up) - Improve response layout with clear separation and hints - Enable proper chat-like experience for continuous learning 🌟 Additional enhancements: - Better language-specific messaging throughout interface - Clearer visual hierarchy between input and response areas - Intuitive flow that guides users to ask follow-up questions - Maintains responsive design and accessibility 🔧 Technical changes: - Enhanced MissionControl state management - Improved component layout and styling - Better TypeScript integration across components - Updated tsconfig for stricter type checking
This commit is contained in:
28
node_modules/openai/resources/batches.js
generated
vendored
28
node_modules/openai/resources/batches.js
generated
vendored
@@ -1,10 +1,10 @@
|
||||
"use strict";
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Batches = void 0;
|
||||
const resource_1 = require("../core/resource.js");
|
||||
const pagination_1 = require("../core/pagination.js");
|
||||
const path_1 = require("../internal/utils/path.js");
|
||||
exports.BatchesPage = exports.Batches = void 0;
|
||||
const resource_1 = require("../resource.js");
|
||||
const core_1 = require("../core.js");
|
||||
const pagination_1 = require("../pagination.js");
|
||||
class Batches extends resource_1.APIResource {
|
||||
/**
|
||||
* Creates and executes a batch from an uploaded file of requests
|
||||
@@ -15,23 +15,27 @@ class Batches extends resource_1.APIResource {
|
||||
/**
|
||||
* Retrieves a batch.
|
||||
*/
|
||||
retrieve(batchID, options) {
|
||||
return this._client.get((0, path_1.path) `/batches/${batchID}`, options);
|
||||
retrieve(batchId, options) {
|
||||
return this._client.get(`/batches/${batchId}`, options);
|
||||
}
|
||||
/**
|
||||
* List your organization's batches.
|
||||
*/
|
||||
list(query = {}, options) {
|
||||
return this._client.getAPIList('/batches', (pagination_1.CursorPage), { query, ...options });
|
||||
if ((0, core_1.isRequestOptions)(query)) {
|
||||
return this.list({}, query);
|
||||
}
|
||||
return this._client.getAPIList('/batches', BatchesPage, { query, ...options });
|
||||
}
|
||||
/**
|
||||
* Cancels an in-progress batch. The batch will be in status `cancelling` for up to
|
||||
* 10 minutes, before changing to `cancelled`, where it will have partial results
|
||||
* (if any) available in the output file.
|
||||
*/
|
||||
cancel(batchID, options) {
|
||||
return this._client.post((0, path_1.path) `/batches/${batchID}/cancel`, options);
|
||||
cancel(batchId, options) {
|
||||
return this._client.post(`/batches/${batchId}/cancel`, options);
|
||||
}
|
||||
}
|
||||
exports.Batches = Batches;
|
||||
class BatchesPage extends pagination_1.CursorPage {
|
||||
}
|
||||
exports.BatchesPage = BatchesPage;
|
||||
Batches.BatchesPage = BatchesPage;
|
||||
//# sourceMappingURL=batches.js.map
|
||||
Reference in New Issue
Block a user