product · inferred from evidence
j2-ultra
A specific AI21 LLM model referenced in the example code.
- AI21 LLM is not Runnable in LangChain: use the langchain_ai21 wrapper
Passing AI21Client directly as the llm to LangChain agents fails because the raw client is not Runnable. Use the AI21LLM or ChatAI21 wrapper from the langchain_ai21 package instead.