Skip to content

Commit 1e61d42

Browse files
jsonbaileyclaude
andcommitted
docs: remove API reference section from LangChain provider README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a907d63 commit 1e61d42

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

  • packages/ai-providers/server-ai-langchain

packages/ai-providers/server-ai-langchain/README.md

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -167,38 +167,6 @@ from ldai_langchain.langchain_helper import map_provider_name
167167
langchain_provider = map_provider_name("gemini") # Returns "google-genai"
168168
```
169169

170-
## API Reference
171-
172-
### LangChainModelRunner
173-
174-
`LangChainModelRunner` implements the `Runner` protocol for LangChain chat models.
175-
176-
#### Constructor
177-
178-
```python
179-
LangChainModelRunner(llm: BaseChatModel)
180-
```
181-
182-
#### Methods
183-
184-
- `run(input, output_type=None) -> RunnerResult` — Run the model with a string prompt or list of `LDMessage` objects. Pass `output_type` (JSON schema dict) for structured output.
185-
- `get_llm() -> BaseChatModel` — Return the underlying LangChain model.
186-
187-
### LangChainAgentRunner
188-
189-
`LangChainAgentRunner` implements the `Runner` protocol for compiled LangChain agent graphs.
190-
191-
#### Constructor
192-
193-
```python
194-
LangChainAgentRunner(agent: Any)
195-
```
196-
197-
#### Methods
198-
199-
- `run(input, output_type=None) -> RunnerResult` — Run the agent with the given input. Returns `RunnerResult` with `content`, `metrics` (including `tool_calls`), and `raw`.
200-
- `get_agent() -> Any` — Return the underlying compiled agent graph.
201-
202170
## Documentation
203171

204172
For full documentation, please refer to the [LaunchDarkly AI SDK documentation](https://docs.launchdarkly.com/sdk/ai/python).

0 commit comments

Comments
 (0)