Skip to content

fix(code): surface the LangSmith credential in dcode config - #6083

Open
Mason Daugherty (mdrxy) wants to merge 3 commits into
mainfrom
mdrxy/code/fix-auth-display
Open

fix(code): surface the LangSmith credential in dcode config#6083
Mason Daugherty (mdrxy) wants to merge 3 commits into
mainfrom
mdrxy/code/fix-auth-display

Conversation

@mdrxy

Copy link
Copy Markdown
Member

credentials.langsmith now appears in dcode config with configured/not-configured status and the credential source.


dcode auth ls and dcode config disagreed about which credentials exist, so users could not tell from config whether their LangSmith key was picked up.

Credential rows now come from both PROVIDER_API_KEY_ENV and SERVICE_API_KEY_ENV, removing the hand-maintained Tavily-only list. A service-registry drift test ensures future service credentials cannot silently miss the config surface.

Both dcode config and dcode auth status langsmith now report the LANGCHAIN_API_KEY fallback used by the runtime while preserving LANGSMITH_API_KEY precedence and secret redaction.

Made by Open SWE

@github-actions github-actions Bot added dcode Related to `deepagents-code` fix A bug fix (PATCH) internal User is a member of the `langchain-ai` GitHub organization size: S 50-199 LOC labels Sep 4, 2026
@mdrxy
Mason Daugherty (mdrxy) marked this pull request as ready for review September 4, 2026 16:28

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread libs/code/deepagents_code/config_manifest.py
@github-actions github-actions Bot added size: M 200-499 LOC and removed size: S 50-199 LOC labels Sep 4, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread libs/code/deepagents_code/config_manifest.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dcode Related to `deepagents-code` fix A bug fix (PATCH) internal User is a member of the `langchain-ai` GitHub organization size: M 200-499 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants