✅ 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:
25
node_modules/openai/resources/batches.mjs
generated
vendored
25
node_modules/openai/resources/batches.mjs
generated
vendored
@@ -1,7 +1,7 @@
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
import { APIResource } from "../core/resource.mjs";
|
||||
import { CursorPage } from "../core/pagination.mjs";
|
||||
import { path } from "../internal/utils/path.mjs";
|
||||
import { APIResource } from "../resource.mjs";
|
||||
import { isRequestOptions } from "../core.mjs";
|
||||
import { CursorPage } from "../pagination.mjs";
|
||||
export class Batches extends APIResource {
|
||||
/**
|
||||
* Creates and executes a batch from an uploaded file of requests
|
||||
@@ -12,22 +12,25 @@ export class Batches extends APIResource {
|
||||
/**
|
||||
* Retrieves a batch.
|
||||
*/
|
||||
retrieve(batchID, options) {
|
||||
return this._client.get(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', (CursorPage), { query, ...options });
|
||||
if (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(path `/batches/${batchID}/cancel`, options);
|
||||
cancel(batchId, options) {
|
||||
return this._client.post(`/batches/${batchId}/cancel`, options);
|
||||
}
|
||||
}
|
||||
export class BatchesPage extends CursorPage {
|
||||
}
|
||||
Batches.BatchesPage = BatchesPage;
|
||||
//# sourceMappingURL=batches.mjs.map
|
||||
Reference in New Issue
Block a user