-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feat(ai-insights): ai agent onboarding prompt #105907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ai-insights): ai agent onboarding prompt #105907
Conversation
Co-authored-by: Simon Hellmayr <[email protected]>
…at-manually-instruments-gen_ai
…at-manually-instruments-gen_ai
static/app/views/insights/pages/agents/llmOnboardingInstructions.tsx
Outdated
Show resolved
Hide resolved
| 1. **All complex data must be JSON-stringified** - span attributes only accept primitives | ||
| 2. **\`gen_ai.request.model\` is required** on all AI request and agent spans | ||
| 3. **Nest spans correctly:** Agent span → contains Request spans and Tool spans (siblings) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From this document, I don't think it's clear what an "Agent span" is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(meaning, the LLM probably also is going to guess)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opening a PR for this: getsentry/sentry-python#5295
…ns.tsx Co-authored-by: Simon Hellmayr <[email protected]>
…ns.tsx Co-authored-by: Simon Hellmayr <[email protected]>
shellmayr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
…ns.tsx Co-authored-by: Simon Hellmayr <[email protected]>
Closes TET-1573: Make a Claude/Cursor prompt that manually instruments gen_ai
Adds the "Copy Prompt for AI Agent" button in case an unsupported platform or manual instrumentation is shown.