Skip to content

change memory for ai agent documentation #1196

@windmill-internal-app

Description

@windmill-internal-app

/ai we changed messages_context_length for ai agent. now it is memory, which can be either auto or manual. auto let's windmill handle the memory for the user, up to the specified N last messages, manual let's the user provide the messages history himself. The type format for each message is the one from OpenAI pub struct OpenAIMessage { pub role: String, #[serde(skip_serializing_if = "Option::is_none")] pub content: Option, #[serde(skip_serializing_if = "Option::is_none")] pub tool_calls: Option<Vec>, #[serde(skip_serializing_if = "Option::is_none")] pub tool_call_id: Option, }. Make that change in the doc. Request made by @centdix

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