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

enhance: add gptscript module version to /api/version #900

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

njhale
Copy link
Member

@njhale njhale commented Dec 17, 2024

  • Add the module version for github.com/gptscript-ai/gptscript to the /api/version API response
  • Change /api/version API response field name from otto to acorn

Addresses #899

@njhale njhale force-pushed the enhance/gptscript-verison-info branch from fcc95fc to c83e4cd Compare December 17, 2024 01:28
@@ -30,7 +35,52 @@ func (v *VersionHandler) getVersionResponse() map[string]string {
values["error"] = err.Error()
}
}
values["otto"] = version.Get().String()
values["acorn"] = version.Get().String()
Copy link
Member Author

Choose a reason for hiding this comment

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

This is going to change to obot soon, but I figured updating this to follow the current branding will make that easier.

@njhale njhale requested a review from StrongMonkey December 17, 2024 01:33
- Add the module version for `github.com/gptscript-ai/gptscript` to
  the `/api/version` API response
- Change `/api/version` API response field name from `otto` to `obot`

Signed-off-by: Nick Hale <[email protected]>
@njhale njhale force-pushed the enhance/gptscript-verison-info branch from c83e4cd to 88754da Compare December 17, 2024 15:53
@njhale njhale merged commit 264972e into obot-platform:main Dec 17, 2024
1 check passed
@njhale njhale deleted the enhance/gptscript-verison-info branch December 17, 2024 16:39
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.

2 participants