Skip to content

fix: log warning on memory create validation failures#31

Merged
xe-nvdk merged 1 commit into
mainfrom
fix/log-memory-400
Feb 8, 2026
Merged

fix: log warning on memory create validation failures#31
xe-nvdk merged 1 commit into
mainfrom
fix/log-memory-400

Conversation

@xe-nvdk

@xe-nvdk xe-nvdk commented Feb 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Add Warn-level log when memory create returns 400, including the error message
  • Found during live testing: Claude sent tags with spaces ("super bowl") which failed tag validation silently

Example output

WRN Memory create rejected org_id=org_default agent_id=agent_abc error="invalid tag 'super bowl': invalid tag format" component=memory-handler

Test plan

  • go build ./cmd/... ./internal/... passes
  • Verified during live Super Bowl demo — 400s now show the rejection reason

Adds Warn-level log with error details when memory create returns 400,
making it easy to diagnose issues like invalid tags from LLM tool calls.
@xe-nvdk xe-nvdk merged commit 94b1f95 into main Feb 8, 2026
2 checks passed
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.

1 participant