new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

LangChain & LangGraph · all subjects

errors & debugging

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Agent Auth troubleshooting 405 error

If receiving '405 Method Not Allowed' error in self-hosted setup, ensure LANGSMITH_API_URL environment variable points to the /api-host path: 'https://your-instance.com/api-host'

Agent Auth troubleshooting malformed OAuth callback URL

Ensure your OAuth provider's redirect URI matches your LangSmith instance URL with the format: https://your-instance.com/host-oauth-callback/{provider_id}

Error sanitization in streams and responses

The Agent Server sanitizes error messages in streams and A2A responses to protect sensitive information like database connection strings and internal hostnames. SSE event and id fields are sanitized to prevent CR/LF injection. This is applied to both standard error responses and streaming contexts.

Agent Server 422 status code for unprocessable entity requests

Error handling was enhanced to return a 422 status code for unprocessable entity requests.

Agent Server 409 error on deadlock during cancellation

In v0.2.73 and v0.2.72, a 409 error response status was implemented to handle deadlock issues during run cancellations and lock conflicts gracefully.

Give your agent this brain