library · inferred from evidence
AI21Client
The raw HTTP API client from the ai21-python SDK, not compatible with LangChain's Runnable interface.
- AI21 LLM is not Runnable when using via LangChain
A user tried to use AI21's models through LangChain agents by passing an AI21Client instance directly as the llm to load_tools and initialize_agent, and the agent would not run. The problem: AI21Client is the raw API client, not a LangChain