-
Notifications
You must be signed in to change notification settings - Fork 31
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
[FEATURE] Add a retry functinality for DeployModelstep and return a model_id #238
Comments
Steps to test :
Logs:
|
@dbwiddis got
|
This happens if somewhere in the dependency hierarchy you are importing You can:
|
Is your feature request related to a problem?
Currently, we are returning modelId only from RegisterLocalModelStep
flow-framework/src/main/java/org/opensearch/flowframework/workflow/RegisterLocalModelStep.java
Line 249 in aba7dea
and RegisterRemoteModelStep
flow-framework/src/main/java/org/opensearch/flowframework/workflow/RegisterRemoteModelStep.java
Line 75 in aba7dea
But when fetching a modelID for other steps like RegisterAgent or Tools or any other workflow steps which requires a modelId, we should wait for the complete model to be deployed and use the modelID returned.
What solution would you like?
This boils down to, add a retry capability for DeployModelStep and wait for the model deployment status to be COMPLETED and return a modelID in the WorkflowData.
What alternatives have you considered?
Add a
?deploy=true
flag for RegisterModel steps.Do you have any additional context?
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: