Skip to content
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

[Enhancement]: Display SDK Version in Deployed Applications (openapi.json) #2353

Conversation

aybruhm
Copy link
Member

@aybruhm aybruhm commented Dec 8, 2024

Description

This PR enhances the debugging process by displaying the current SDK version directly in the deployed application openapi.json. Previously, identifying the SDK version after deploying to cloud templates (staging or beta) required a lengthy process involving manual steps through AWS and CloudWatch logs.

Related Issue

Closes AGE-1449

- remove deprecated use of `get_distribution` from `pkg_resources` to get version of agenta with `importlib.metadata`
- bump sdk version from `0.28.0` to `0.28.2a1`
Copy link

vercel bot commented Dec 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 3:07pm
agenta-documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 3:07pm

@aybruhm aybruhm changed the title [Enhancement]: Display SDK Version in Agenta Playground for Deployed Applications [Enhancement]: Display SDK Version in Deployed Applications (openapi.json) Dec 9, 2024
@aybruhm aybruhm requested a review from jp-agenta December 9, 2024 09:03
@aybruhm aybruhm marked this pull request as ready for review December 9, 2024 09:03
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 9, 2024
@dosubot dosubot bot added CLI enhancement New feature or request SDK labels Dec 9, 2024
agenta-cli/pyproject.toml Outdated Show resolved Hide resolved
agenta-cli/pyproject.toml Outdated Show resolved Hide resolved
agenta-cli/pyproject.toml Outdated Show resolved Hide resolved
Copy link
Member

@bekossy bekossy left a comment

Choose a reason for hiding this comment

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

QA Report:

Deployed the app to cloud.beta using SDK version 0.28.2a1.

  • Confirmed that the SDK version in the agenta-sdk object is being returned as expected. ✅
Screenshot 2024-12-10 at 10 10 33 AM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 10, 2024
@aybruhm aybruhm merged commit 8336d1d into main Dec 10, 2024
10 checks passed
@aybruhm aybruhm deleted the feature/age-1449-display-sdk-version-in-agenta-playground-interface branch December 10, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI enhancement New feature or request lgtm This PR has been approved by a maintainer SDK size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants