Skip to content

Support Message array for instructions in Agent constructor #192

@firebuzz-dev

Description

@firebuzz-dev

We are not able to pass system message like below into instructions key in agent constructor.

const systemMessage = [{role:"system", content:"long content to cache"}]

If we can do this we can put cache control for anthropic models.

Current workaround is not passing in the constructor but passing manually in contextHandler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions