Skip to content

chat.params can't modify system? #1

@Tarquinen

Description

@Tarquinen

Are you sure the injection system works? As far as I understand this hook can't modifiy the system prompt, just the provider params.

"chat.params"?: (
    input: { sessionID: string; agent: string; model: Model; provider: ProviderContext; message: UserMessage },
    output: { temperature: number; topP: number; options: Record<string, any> },
  ) => Promise<void>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions