Add wrapper function to handle different function signatures.
What does this merge request do and why?
This MR address the bug where structured prompt are passed as string to GitLabCodeCreationModelHandle
.
This MR adds a wrapper function in GitLabCodeCreationModelHandle
that uses string input instead of StructuredPrompt
. Users of GitLabCodeCreationModelHandle
can choose which method to use. (This fix is pulled from !415 (closed))
As far as I know, no other pipelines are affected by this bug because the types are all correct.
Ref: #272
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Merge request checklist
-
I've ran the affected pipeline(s) to validate that nothing is broken. -
Tests added for new functionality. If not, please raise an issue to follow up. -
Documentation added/updated, if needed.
Edited by Hongtao Yang