diff --git a/src/modules/aix/client/ContentReassembler.ts b/src/modules/aix/client/ContentReassembler.ts index c294ad6b7..fb7a7f0f6 100644 --- a/src/modules/aix/client/ContentReassembler.ts +++ b/src/modules/aix/client/ContentReassembler.ts @@ -101,7 +101,7 @@ export class ContentReassembler { if (this._terminationReason === 'done-dialect') while (this.removeLastVoidPlaceholder()) {} // [PH-LIFECYCLE] - // - mark as completed or errorer + // - mark as completed or errored for (const fragment of this.accumulator.fragments) if (isVoidPlaceholderFragment(fragment) && fragment.part.opLog?.length) for (const entry of fragment.part.opLog) { @@ -613,7 +613,7 @@ export class ContentReassembler { private onSetOperationState(os: Extract): void { - // This operation does not require removal of exisitng VoidPlaceholder fragments, as it recycles the last one if any + // This operation does not require removal of existing VoidPlaceholder fragments, as it recycles the last one if any // destructure const { text, mot, opId, state, parentOpId, iTexts, oTexts } = os; diff --git a/src/modules/aix/server/api/aix.wiretypes.ts b/src/modules/aix/server/api/aix.wiretypes.ts index c88ec3ab7..26786815e 100644 --- a/src/modules/aix/server/api/aix.wiretypes.ts +++ b/src/modules/aix/server/api/aix.wiretypes.ts @@ -748,7 +748,7 @@ export namespace AixWire_Particles { | { p: 'ii', mimeType: string, i_b64: string, label?: string, generator?: string, prompt?: string, hintSkipResize?: boolean } // inline image, complete /** * Model Operation - tracks instant model's operation(s) state, primarily for hosted tools. - * - state is 'ative' unless specified otherwise, 'error' is done too + * - state is 'active' unless specified otherwise, 'error' is done too * - shall be called 'mos' but for legacy/compatibility it's still 'vp' (backwards comp to simple void placeholder particles) */ | { p: /*'mo'*/ 'vp', opId: string, text: string, mot: 'search-web' | 'gen-image' | 'code-exec', state?: 'done' | 'error', parentOpId?: string, iTexts?: string[], oTexts?: string[] } diff --git a/src/modules/aix/server/dispatch/chatGenerate/parsers/IParticleTransmitter.ts b/src/modules/aix/server/dispatch/chatGenerate/parsers/IParticleTransmitter.ts index 917983b56..ee4ac6ffd 100644 --- a/src/modules/aix/server/dispatch/chatGenerate/parsers/IParticleTransmitter.ts +++ b/src/modules/aix/server/dispatch/chatGenerate/parsers/IParticleTransmitter.ts @@ -12,7 +12,7 @@ export interface IParticleTransmitter { /** Set the end reason - only use for 'done-dialect' to signal a dialect-close */ setDialectEnded(reason: ParticleCGDialectEndReason): void; - /** End the current part and flush it, which also calls `setDialectEnded('issue-dialct')` */ + /** End the current part and flush it, which also calls `setDialectEnded('issue-dialect')` */ setDialectTerminatingIssue(dialectText: string, symbol: string | null, serverLog: ParticleServerLogLevel): void; /** Communicates the finish reason to the client - Data only, this does not do Control, like the above */