[langsmith]: value type `Auth.types.on...value` is inconsistent in auth.mdx
Maintainers usually reply within 1 day
@ZYZ666-RGB is already working on this.
Since Nov 24, 2026.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- documentation
Research direction
The inconsistency is in src/langsmith/auth.mdx, in the resource-specific handlers and Supported resources sections. Compare the two annotation forms there, Auth.types.<item>.<action> and Auth.types.on.<item>.<action>, against the reported runtime behavior where the version without on raises an AttributeError. Done means both sections use the correct Auth.types.on.<item>.<action> form consistently, so the examples match the installed langgraph_sdk.auth.types API.
Written by the indexing model from the issue text.
Description
Type of issue
issue / bug
Language
Python
Description
The authentication documentation (https://github.com/langchain-ai/docs/blob/main/src/langsmith/auth.mdx) uses inconsistent type annotations.
In section resource-specific handlers, we have value=Auth.types.<item>.<action>
For example,
@auth.on.threads.create
async def on_thread_create(
ctx: Auth.types.AuthContext,
value: Auth.types.threads.create.value
):
In section Supported resources, we have value=Auth.types.on.<item>.<action>
For example,
@auth.on.threads.create
async def on_thread_create(
ctx: Auth.types.AuthContext,
value: Auth.types.on.threads.create.value
):
...
With langgraph=1.2.24 and deepagents=0.7.4:
Without on, we have AttributeError: module 'langgraph_sdk.auth.types' has no attribute 'threads' error.
- Dominant language
- MDX
- Stars
- 455
- Forks
- 2.8k
- Avg merge
- 23h 19m
- Merged PRs (30d)
- 646
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from langchain-ai/docs
-
external integration integration-submission
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
langchain-ai/docs#8057 ·
Maintainers usually reply within 1 day
-
external
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
langchain-ai/docs#8056 ·
Maintainers usually reply within 1 day
-
external
Difficulty 1/5 Under an hour Newbie friendliness 92/100
langchain-ai/docs#8049 ·
Maintainers usually reply within 1 day
-
external langgraph
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
langchain-ai/docs#7959 · 1 comment ·
Maintainers usually reply within 1 day
-
[langsmith]: SmithDB migration guide for runs.query: unclear await vs async for, and no word on whether evaluate() still calls /runs/queryPossibly taken A pull request linked to this issue is open or already merged. Openexternal langsmith
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
langchain-ai/docs#7743 ·
Maintainers usually reply within 1 day
All issues in langchain-ai/docs
Similar issues
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Sign-off cards drift between formats; write down one card formatPossibly taken @keyxmakerx claimed this today. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
keyxmakerx/Chronicle#2795 ·
Maintainers usually reply within 1 day
-
automated issue report
Difficulty 1/5 Under an hour Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
3XXOpen
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
rest-api
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day