Commit graph

595 commits

Author SHA1 Message Date
Palash Shah
3e64399d13
feat: inject LANGSMITH_AGENT_VERSION metadata into all run creation calls (#1066)
Reads LANGCHAIN_REVISION_ID env var (set by LSD from LANGSMITH_LANGGRAPH_GIT_REF_SHA)
and injects it as LANGSMITH_AGENT_VERSION metadata on every runs.create() call.
This enables the agent_deployments sync job to track which agent version produced each trace.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 10:49:32 -07:00
Brace Sproul
633d80bf0e
fix: Add back logo to readme (#1068) 2026-03-17 10:41:41 -07:00
Brace Sproul
82e2bcc94b
chore: Update announcement blog post link in README (#1067) 2026-03-17 10:38:51 -07:00
Brace Sproul
226ddde8a6
chore: Update debug log to error log (#1064) 2026-03-16 16:22:00 -07:00
Aran Yogesh
c2af14383b
fix: skip full test suite in sandbox, run only task-related tests (#1058) 2026-03-16 12:05:43 -07:00
Brace Sproul
3e73447920
fix: better docs, github auth (#1055)
* fix: Update github auth methods

* cr
2026-03-11 22:57:56 -08:00
agent-forge-app[bot]
ebfa8eb388
fix: extend Slack repo detection to support space syntax and GitHub URLs (#1046)
`get_slack_repo_config` previously only matched `repo:owner/name` (colon).
Messages using `repo owner/name` (space) or containing a GitHub URL like
`https://github.com/langchain-ai/langgraph-api` fell back to the default
repo. This extends the detection with both patterns — additive, no existing
behavior changed.

Co-authored-by: Forge Agent <forge-agent@anthropic.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-10 13:33:05 -07:00
agent-forge-app[bot]
d98cd9ddc1
fix: skip no_op injection when PR is committed and user is notified (#1047)
* fix: skip no_op injection when PR is committed and user is notified

- Root cause: ensure_no_empty_msg Branch 1 (empty AI message) lacked the
  same completion checks as Branch 2 (text-only AI message), causing a
  spurious no_op injection after commit_and_open_pr + user notification
- Change: add check_if_model_already_called_commit_and_open_pr AND
  check_if_model_messaged_user guard to Branch 1 of ensure_no_empty_msg
- Verified: 7/100 production traces no longer get an extra LLM call

* updated

* pass tests

---------

Co-authored-by: Auto Fix Bot <auto-fix@langchain.ai>
Co-authored-by: Palash Shah <palash@langchain.dev>
Co-authored-by: Palash Shah <35114859+Palashio@users.noreply.github.com>
2026-03-10 12:56:44 -07:00
Aran Yogesh
2f38484451
email-update (#1048) 2026-03-10 11:28:34 -07:00
Brace Sproul
6f04cea26c
chore: Add langsmith deployments data plane linear project (#1044)
* chore: Add langsmith deployments data plane linear project

* cr
2026-03-09 18:36:00 -07:00
Aran Yogesh
b735afb445
feat: add GitHub PR comment trigger and reply support [closes OPE-1] (#1014)
* feat: add GitHub PR comment trigger and reply support

* refactor: improve readability of GitHub integration

* linting

* fix: resolve github token from thread metadata and improve PR trigger flow

* fix: fall back to OAuth for GitHub webhook when no token in thread metadata

* give me commit message github integeration working without a breaking

* auth.py refactor

* fix: validate cached GitHub token before use to handle expiry

* liniting

* ci unitest formatting

* feat: post PR comments as GitHub App bot instead of user OAuth token

* resolved comments

* slack resolveed comments

* Refactor docstring and comments in get_slack_repo_config

Removed unnecessary comments and cleaned up docstring formatting.

* cr

* cr

* cr

* cr

---------

Co-authored-by: bracesproul <braceasproul@gmail.com>
2026-03-09 17:14:13 -07:00
Brace Sproul
9763835873
fix: Slack tests (#1032) 2026-03-09 12:10:41 -07:00
Harrison Chase
da5c0f36f6 cr 2026-03-07 13:24:22 -08:00
Harrison Chase
5c493ea1c7 cr 2026-03-07 13:24:10 -08:00
Brace Sproul
bd52e5e09d
chore: Drop monorepo (#1029)
* chore: Drop monorepo

* cr
2026-03-06 16:10:34 -08:00
Aran Yogesh
ee3f88bd49
Merge pull request #1028 from langchain-ai/yogesh/readme-update
chore: readme update
2026-03-06 15:25:42 -08:00
aran-yogesh
abd26fbbaf readme updates 2026-03-06 15:21:38 -08:00
aran-yogesh
229cc08713 readme update 2026-03-06 15:06:16 -08:00
Aran Yogesh
86ea40e04f
Update README.md
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:56:12 -08:00
Aran Yogesh
f80bb37d6a
Merge pull request #1023 from langchain-ai/yogesh/concise-pr-description
chore: make agent PR bodies more concise by removing change lists and redundant test steps
2026-03-06 14:53:56 -08:00
aran-yogesh
75bc943ac5 order update instructions 2026-03-06 14:47:05 -08:00
Aran Yogesh
c75f3da53b
Update apps/agent/agent/prompt.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:44:29 -08:00
Aran Yogesh
a9fc706cc0
Update apps/agent/agent/prompt.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:51 -08:00
Aran Yogesh
93eb7aaa77
Update apps/agent/agent/tools/commit_and_open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:41 -08:00
Aran Yogesh
ebce0e1f49
Update apps/agent/agent/tools/commit_and_open_pr.py
Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-06 14:43:35 -08:00
aran-yogesh
a6d05a86b2 lineaer webhook update instructions 2026-03-06 14:36:26 -08:00
aran-yogesh
1d19c05b7e chore: readme update 2026-03-06 14:23:29 -08:00
aran-yogesh
06c47794f5 chore: make agent PR bodies more concise by removing change lists and redundant test steps 2026-03-06 10:43:04 -08:00
Brace Sproul
cd671fdca2
fix: Only send using repo msg if not already sent (#1019)
* fix: Only send using repo msg if not already sent

* cr

* cr
2026-03-05 13:11:10 -08:00
Brace Sproul
659dd71433
feat: Make error slack messages only visable to user (#1018) 2026-03-05 13:00:23 -08:00
Brace Sproul
eb47c86c80
chore: Use anthropic models (#1012) 2026-03-04 18:20:43 -08:00
Brace Sproul
f2dc5950f6
fix: Dont return another no-op tc if no-op already in state (#1011) 2026-03-04 18:15:00 -08:00
Brace Sproul
c0f17d32d8
fix: Middleware to ensure no empty msg (#1010) 2026-03-04 17:59:52 -08:00
Brace Sproul
a1fcb23498
fix: Add important prompting to always call tools (#1009) 2026-03-04 17:33:20 -08:00
Brace Sproul
d18318404b
fix: persist selected repo (#1008)
* chore: Better err handling for extracting repos, always post reply

* cr

* fix: persist selected repo
2026-03-04 17:31:01 -08:00
Brace Sproul
163649197b
chore: Better err handling for extracting repos, always post reply (#1007)
* chore: Better err handling for extracting repos, always post reply

* cr
2026-03-04 16:55:50 -08:00
Brace Sproul
51b4b27c2e
feat: Add slack trigger webhook (#1006)
* feat: Add slack trigger webhook

* cr

* better username tagging, react with eyes

* cr

* cr

* cr
2026-03-04 16:43:28 -08:00
Aran Yogesh
b5951413d7
chore: resolve github token in get_agent and read from thread metadata (#1002)
* chore: resolve github token in get_agent and read from thread metadata

* feat: add linear_comment tool and fix middleware PR response

* refactor: simplify github token resolution flow

* linting

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* refactor: simplify auth helpers and token flow

* linting

* open_pr changes

* Update open_pr.py

* refactor: centralize github token helpers and config lookup

* Apply suggestions from code review

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-04 15:57:03 -08:00
Aran Yogesh
3dee480e82
refactor: remove duplicate comment_on_linear_issue from webapp, import from utils (#996)
* refactor: remove duplicate comment_on_linear_issue from webapp, import from utils.linear

* linting
2026-03-03 14:35:24 -08:00
Aran Yogesh
5bced68e72
feat: add linear_comment tool, remove auto-comment middleware (#994)
* feat: add linear_comment tool, remove auto-comment middleware

* ⏺ feat: pass triggering user name to linear_comment tool for @mentions

* linting

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* Apply suggestion from @bracesproul

Co-authored-by: Brace Sproul <braceasproul@gmail.com>

* feat: add ticket_id arg to linear_comment tool and
  include it in agent prompt

* Apply suggestions from code review

---------

Co-authored-by: Brace Sproul <braceasproul@gmail.com>
2026-03-03 14:34:29 -08:00
Aran Yogesh
4c94404b76
Merge pull request #1001 from langchain-ai/yogesh/add-open-swe-repo
feat: add Open SWE Linear team mapping to langchain-ai/open-swe repo
2026-03-03 09:29:46 -08:00
aran-yogesh
be0e0eb421 feat: add Open SWE Linear team mapping to langchain-ai/open-swe repo 2026-03-03 09:24:50 -08:00
Aran Yogesh
6f487824c9
Merge pull request #999 from langchain-ai/yogesh/auth-logging
chore: improve GitHub auth failure logging with exception type
2026-03-02 14:51:40 -08:00
aran-yogesh
257f08b196 chore:updated logging 2026-03-02 14:49:07 -08:00
aran-yogesh
1241028dc3 chore: improve GitHub auth failure logging with exception type and error value 2026-03-02 14:34:28 -08:00
Brace Sproul
336a163924
feat: Add model utils, move to websockets and responses api, add gpt-5.3-codex (#998)
* feat: Add model utils, move to websockets and responses api, add gpt-5.3-codex

* cr
2026-03-02 12:13:24 -08:00
Aran Yogesh
484465c399
feat: prompt review (#956)
* feat: prompt review

* Prompt changes: simplify system prompt, update timeout and tool docs

Made-with: Cursor
2026-02-28 16:01:13 -08:00
Aran Yogesh
a502191a7f
Merge pull request #982 from langchain-ai/yogesh/linear-comment-user-null
fix: Handle missing Linear comment user in prompt
2026-02-27 10:52:18 -08:00
Aran Yogesh
0ead46d739
Merge pull request #984 from langchain-ai/yogesh/recover-from-dead-sandbox
fix: recover from sandbox connection failures by recreating sandbox and recloning repo
2026-02-26 10:57:03 -08:00
aran-yogesh
9066b36063 refactor: make github_token keyword-only in _recreate_sandbox and drop redundant repo_dir metadata update 2026-02-26 10:50:13 -08:00