✅ 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:
10
node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js
generated
vendored
10
node_modules/openai/_vendor/zod-to-json-schema/parsers/object.js
generated
vendored
@@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.parseObjectDef = parseObjectDef;
|
||||
exports.parseObjectDef = void 0;
|
||||
const parseDef_1 = require("../parseDef.js");
|
||||
function decideAdditionalProperties(def, refs) {
|
||||
if (refs.removeAdditionalStrategy === 'strict') {
|
||||
@@ -34,11 +34,8 @@ function parseObjectDef(def, refs) {
|
||||
});
|
||||
if (parsedDef === undefined)
|
||||
return acc;
|
||||
if (refs.openaiStrictMode &&
|
||||
propDef.isOptional() &&
|
||||
!propDef.isNullable() &&
|
||||
typeof propDef._def?.defaultValue === 'undefined') {
|
||||
throw new Error(`Zod field at \`${propertyPath.join('/')}\` uses \`.optional()\` without \`.nullable()\` which is not supported by the API. See: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#all-fields-must-be-required`);
|
||||
if (refs.openaiStrictMode && propDef.isOptional() && !propDef.isNullable()) {
|
||||
console.warn(`Zod field at \`${propertyPath.join('/')}\` uses \`.optional()\` without \`.nullable()\` which is not supported by the API. See: https://platform.openai.com/docs/guides/structured-outputs?api-mode=responses#all-fields-must-be-required\nThis will become an error in a future version of the SDK.`);
|
||||
}
|
||||
return {
|
||||
properties: {
|
||||
@@ -54,4 +51,5 @@ function parseObjectDef(def, refs) {
|
||||
delete result.required;
|
||||
return result;
|
||||
}
|
||||
exports.parseObjectDef = parseObjectDef;
|
||||
//# sourceMappingURL=object.js.map
|
||||
Reference in New Issue
Block a user