langchain.js
    Preparing search index...

    Interface TodoListMiddlewareOptions

    interface TodoListMiddlewareOptions {
        systemPrompt?: string;
        toolDescription?: string;
    }
    Index

    Properties

    systemPrompt?: string

    Custom system prompt to guide the agent on using the todo tool. If not provided, uses the default PLANNING_MIDDLEWARE_SYSTEM_PROMPT.

    toolDescription?: string

    Custom description for the writeTodos tool. If not provided, uses the default WRITE_TODOS_DESCRIPTION.