Skip to content

Add tools support in langchain#37

Draft
wrisa wants to merge 14 commits into
open-telemetry:mainfrom
wrisa:tools-langchain
Draft

Add tools support in langchain#37
wrisa wants to merge 14 commits into
open-telemetry:mainfrom
wrisa:tools-langchain

Conversation

@wrisa
Copy link
Copy Markdown
Contributor

@wrisa wrisa commented May 18, 2026

examples/tools/main.py
Tools span:
Screenshot 2026-05-18 at 9 52 10 AM

Inference spans with tool details:
Screenshot 2026-05-18 at 9 52 23 AM
Screenshot 2026-05-18 at 9 52 35 AM

Copy link
Copy Markdown
Member

@lmolkova lmolkova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's just update langchain to use new InferenceInvocation instead of deprecated LLMInvocation

seed: int | None = None
server_address: str | None = None
server_port: int | None = None
tool_definitions: list[ToolDefinition] | None = None
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary? let's update langchain to use new API instead of legacy LLMInvocation

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

This PR has been automatically marked as stale because it has not had any activity for 14 days. It will be closed if no further activity occurs within 14 days of this comment.
If you're still working on this, please add a comment or push new commits.

@github-actions github-actions Bot added the Stale Issue or PR has been inactive label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale Issue or PR has been inactive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants