-
Notifications
You must be signed in to change notification settings - Fork 468
feat(demo): add scheduled trace generation for demo account #3562
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
Conversation
- Update agenta SDK requirement to >=0.80.0 (requires Python 3.11+) - Change app_slug from 'query-prompt' to 'support-rag-prompt' - Update uv.lock with new dependencies
- Add 204 test queries covering all Agenta features (queries.json) - Add test_traces.py script with random query selection - Add GitHub Action to generate 12 traces twice daily (9am & 4pm UTC) - Fix LiteLLM instrumentation to use ag.callbacks.litellm_handler() for proper token/cost tracking in traces
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…ain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
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.
|
|
||
| - name: Generate traces | ||
| env: | ||
| AGENTA_API_KEY: ${{ secrets.DEMO_AGENTA_API_KEY }} |
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.
@jp-agenta here are the added vars and env vars. For context (not to remove them by mistake when restructuring0
Summary
Adds automated daily trace generation for the demo account to keep observability data fresh.
Changes
queries.json) covering all Agenta features: prompts, evaluation, observability, SDK, API, deployment, etc.test_traces.pyscript with:--count Nflag to control number of traces--listflag to see all available queries.github/workflows/05-demo-traces.yml) that:ag.callbacks.litellm_handler()for proper token/cost trackingSecrets Required
The following secrets have been added to the repo:
DEMO_AGENTA_API_KEYDEMO_OPENAI_API_KEYDEMO_QDRANT_URLDEMO_QDRANT_API_KEYTesting