Skip to main content

Interface: Personality

Defined in: packages/orchestration/src/ensemble/personality/personality.ts:10

Accessors

challengeConfig

Get Signature

get challengeConfig(): ChallengeConfig | undefined

Defined in: packages/orchestration/src/ensemble/personality/personality.ts:63

Returns

ChallengeConfig | undefined

Methods

shouldChallenge()

shouldChallenge(output, ctx, agentId): boolean

Defined in: packages/orchestration/src/ensemble/personality/personality.ts:54

Check if the challenge should fire given the current ensemble context. Called by groupSession before routing a message to this personality's agent.

Parameters

output
content

string = ...

type

"proposal" | "update" | "question" | "final" = ...

ctx

EnsembleContext

agentId

string

Returns

boolean


wrap()

wrap(bot): Processable

Defined in: packages/orchestration/src/ensemble/personality/personality.ts:21

Wrap a Baleybot with the compiled personality pipeline. Returns a Processable that applies all configured dimensions structurally.

Parameters

bot

Processable<unknown, unknown> | Baleybot<undefined, Record<string, never>>

Returns

Processable