OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Chat error occurred
Source Definition
import { defineEvent } from '@lssm-tech/lib.contracts-spec';
import { defineSchemaModel, ScalarTypeEnum } from '@lssm-tech/lib.schema';
import { ChatConversationModel, ChatMessageModel } from './schema';
export const ChatErrorEvent = defineEvent({
meta: {
key: 'ai-chat.error',
version: '1.0.0',
description: 'Chat error occurred',
stability: 'stable',
owners: ['@ai-chat'],
tags: ['ai-chat', 'error'],
},
payload: defineSchemaModel({
name: 'ChatErrorPayload',
fields: {
code: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
message: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
},
}),
});