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

Handle runtime context #57

Merged
merged 5 commits into from
Jun 19, 2024
Merged

Conversation

gabe-l-hart
Copy link
Contributor

Description

This PR implements TGISBackend.handle_runtime_context. This is a new API on BackendBase introduced in caikit in order to allow caikit.runtime to proactively notify configured backends of request contexts.

NOTE: This PR does not bump the minimum version in caikit because implementing this function does not require that there be a base implementation. If used with an older version of caikit, it simply won't get called.

gabe-l-hart and others added 5 commits June 19, 2024 14:59
Since the context parsing needs to happen in the backend directly, this
needs to live here now

Signed-off-by: Gabe Goodhart <[email protected]>
Copy link
Contributor

@gkumbhat gkumbhat left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks Gabe

@gabe-l-hart gabe-l-hart merged commit eb0f318 into caikit:main Jun 19, 2024
6 checks passed
@gabe-l-hart gabe-l-hart deleted the HandleRuntimeContext branch June 19, 2024 21:20
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