Skip to content

Conversation

@claude
Copy link
Contributor

@claude claude bot commented Dec 22, 2025

This PR updates the AI agent documentation to reflect the recent changes to the memory configuration.

Changes

  • Replaced messages_context_length parameter with memory field that supports two modes:

    • auto: Windmill automatically handles the memory, maintaining up to the specified number of last messages
    • manual: User provides the message history directly using the OpenAI message format
  • Added documentation for the OpenAI message format structure:

    {
      "role": "string",
      "content": "string | null",
      "tool_calls": [/* array of tool calls */],
      "tool_call_id": "string | null"
    }
  • Updated the changelog entry to reflect the new memory configuration

Fixes #1196

Generated with Claude Code

…emory

- Replace messages_context_length with memory field that supports auto/manual modes
- Document auto mode: Windmill handles memory up to N last messages
- Document manual mode: user provides message history
- Add OpenAI message format documentation for manual mode
- Update changelog entry to reflect new memory configuration

Co-authored-by: centdix <centdix@users.noreply.github.com>
@centdix
Copy link
Contributor

centdix commented Dec 22, 2025

/ai remove the change in the changelog, and make content not optional

@claude
Copy link
Contributor Author

claude bot commented Dec 22, 2025

Claude finished @centdix's task —— View job


Tasks

  • Read current state of files
  • Revert changes in the changelog
  • Make "content" field required in the documentation
  • Commit and push changes

Completed

✅ Reverted the changelog entry back to the original "messages_context_length" wording
✅ Made the content field required in the OpenAI message format documentation

All changes have been committed and pushed to the PR branch.

- Reverted changelog entry back to messages_context_length
- Made content field required in OpenAI message format documentation

Co-authored-by: centdix <centdix@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 22, 2025

Deploying windmilldocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4946b1d
Status: ✅  Deploy successful!
Preview URL: https://b7d73013.windmilldocs.pages.dev
Branch Preview URL: https://claude-issue-1196-20251222-1.windmilldocs.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link

Deploying windmilldocs with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6f09ac
Status: ✅  Deploy successful!
Preview URL: https://d137417d.windmilldocs.pages.dev
Branch Preview URL: https://claude-issue-1196-20251222-1.windmilldocs.pages.dev

View logs

@centdix centdix marked this pull request as ready for review December 22, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

change memory for ai agent documentation

2 participants