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.

ai-chat.error

Chat error occurred

  • Type: event (event)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @ai-chat
  • Tags: ai-chat, error
  • File: packages/modules/ai-chat/src/events.ts
  • ```typescript

    import { defineEvent } from '@lssm-tech/lib.contracts-spec';

    field.key.label
    ai-chat.error
    field.version.label
    1.0.0
    field.type.label
    event (event)
    field.title.label
    ai-chat.error
    field.description.label

    Chat error occurred

  • Type: event (event)
  • Version: 1.0.0
  • Stability: stable
  • Owners: @ai-chat
  • Tags: ai-chat, error
  • File: packages/modules/ai-chat/src/events.ts
  • ```typescript

    import { defineEvent } from '@lssm-tech/lib.contracts-spec';

    field.tags.label
    ai-chat,error
    field.owners.label
    @ai-chat
    field.stability.label
    stable

    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 },
    		},
    	}),
    });