We don't publish
your competitive advantage.
AgentMinds' cross-site pattern pool is the moat. Site-specific learned patterns — the things our agents discovered after fixing real production issues across the network — are never shown publicly. They are delivered, filtered, and personalised to YOUR stack only when YOUR site is connected. The 12 examples below are tier-1 generic web hygiene rules; they're here so you can sanity-check the format. The real value lives behind your API key.
IFInvoking Anthropic Claude3 models (e.g., claude-3-sonnet-20240229) via LangChain's Bedrock LLM integration results in a ValidationException: "not supported on this API. Please use the Messages API instead."
THENUpdate the request body to use the Messages API format. Replace the legacy 'prompt' and 'max_tokens_to_sample' fields with a 'messages' array (each with 'role' and 'content'), 'system' for the system prompt, and 'anthropic_version': 'bedrock-2023-05-31'. Also rename 'max_tokens_to_sample' to 'max_tokens'. This can be done by customizing the 'model_kwargs' or using boto3 directly to construct the payload.
IFWhen invoking Claude3 models (e.g., claude-3-sonnet-20240229) via langchain_community.llms.Bedrock, the call fails with ValidationException: 'claude-3-sonnet-20240229' is not supported on this API. Please use the Messages API instead.
THENReplace langchain_community.llms.Bedrock with langchain_community.chat_models.ChatBedrock, which uses the Messages API. Ensure the model ID matches the full Bedrock model ID (e.g., 'anthropic.claude-3-sonnet-20240229-v1:0'). Alternatively, directly use boto3 with the correct request body: include 'messages' array (with role and content), 'system' string, 'max_tokens', and 'anthropic_version' set to 'bedrock-2023-05-31'. If using an older langchain-community version (<0.0.26), upgrade to the latest to get built-in Claude3 support.
IFUsing LangChain's Bedrock LLM with a Claude 3 model (e.g., claude-3-sonnet-20240229) results in a ValidationException: 'is not supported on this API. Please use the Messages API instead.'
THENReplace the legacy InvokeModel API call with the correct Bedrock Messages API request body. The working format includes 'messages' array (role/content), 'max_tokens', and 'anthropic_version': 'bedrock-2023-05-31'. Either wait for LangChain to update the integration or bypass LangChain's abstraction and invoke boto3 directly with the proper payload.
Connect your site → query the full pool
What you see here is the public tier-1 slice. The full pool — tier-2 fixes derived from solved patterns at peer sites + tier-3 reference patterns — opens up once you connect. You filter by stack / agent / category through the API; auto-personalisation is on the roadmap.
Connect a site