Skip to content

docs(auto): say that the agent does not trace LangChain yet - #706

Draft
nik13 wants to merge 1 commit into
devfrom
tai/docs-auto-langchain-not-traced
Draft

nik13 wants to merge 1 commit into
devfrom
tai/docs-auto-langchain-not-traced

Conversation

@nik13

@nik13 nik13 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Corrects the @traceai/auto README: the zero-code agent does not trace LangChain yet.

  • The coverage notes below the generated library table now say that the LangChain integration stays pending in ES-module and CommonJS apps alike, and that the model requests LangChain sends are still captured as wire spans.
  • "Limits to plan for" gets one bullet in the same words. It points LangChain users to @traceai/langchain's own API until a later release adds it.

Why?

The README listed langchain as an import-hook integration with no qualification. In a clean install of the published @traceai/auto 0.1.4 with @traceai/langchain 0.1.8, @langchain/core 0.3.56 and @langchain/openai 0.3.16, the agent reports the LangChain integration as pending and records no LangChain spans. That holds for a CommonJS app started with --require and an ES-module app started with --import. Users reading the README today should not expect LangChain spans.

How was it tested?

  • @traceai/auto's test suite at this branch: 1,502 passed, 2 failed, 12 pending. At dev it is the same: 1,502 passed and the same 2 failures, both in round6-boundary.test.ts (Vercel enable B3). This change does not touch them.

  • The docs tests, including the check that the generated coverage table matches the registry, all pass. The generated block itself is unchanged.

  • Unit tests added / updated (pytest or vitest)

  • Integration tests pass (or N/A — no gateway behavior changed): N/A, documentation only

  • ruff check / mypy / npm run typecheck / npm run lint all pass

  • Public types, env vars, or SDK behavior changes are documented in the relevant README

Checklist

  • Branch is off main: this branch targets dev
  • Commit messages follow Conventional Commits (feat:, fix:, docs:, chore: …)
  • No TODOs or commented-out code left in
  • No real API keys or secrets in the diff
  • If prose was added or changed: checked against docs/VOCABULARY.md. This repository has no docs/VOCABULARY.md on dev or main, so there was nothing to check against. The two new sentences use only the README's own terms (pending, wire spans, integration).

Notes for reviewers

  • Documentation only: one file, typescript/packages/traceai_auto/README.md.
  • The fix for LangChain itself comes in a later release.

In ES-module and CommonJS apps alike, the LangChain integration stays pending and records no LangChain spans; LangChain's model requests are still captured as wire spans. The coverage notes and the limits now say so.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant