Skip to content

Add job code attachment Langfuse tags#566

Merged
hanna-paasivirta merged 4 commits into
release/1.6.0from
add-langfuse-tags
Jun 30, 2026
Merged

Add job code attachment Langfuse tags#566
hanna-paasivirta merged 4 commits into
release/1.6.0from
add-langfuse-tags

Conversation

@hanna-paasivirta

Copy link
Copy Markdown
Contributor

Short Description

Adds a has_code_attachment tag to Langfuse that gets attached to a trace whenever the job code agent actually returns code changes (whether used directly or through global chat). This allows us to filter in Langfuse for AI generated code so we can run specific evaluators only on those traces.

image

Fixes #551

To test locally, you will need to generate the following Langfuse keys in a personal project in your .env in services/:

LANGFUSE_SECRET_KEY
LANGFUSE_PUBLIC_KEY
LANGFUSE_BASE_URL

AI Usage

Please disclose whether you've used AI in this work (it's cool, we just want to
know!):

  • Yes, I have not used AI
  • No, I have not used AI

You can read more details in our
Responsible AI Policy

@hanna-paasivirta hanna-paasivirta changed the base branch from global-chat-multistep to release/1.6.0 June 30, 2026 10:13
@hanna-paasivirta hanna-paasivirta marked this pull request as ready for review June 30, 2026 10:13
@hanna-paasivirta hanna-paasivirta merged commit 17a819a into release/1.6.0 Jun 30, 2026
2 checks passed
@hanna-paasivirta hanna-paasivirta mentioned this pull request Jun 30, 2026
2 tasks
@josephjclark josephjclark mentioned this pull request Jun 30, 2026
2 tasks
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