feat: update ResumeData type from map[string]any to map[string]string for consistency
This commit is contained in:
@@ -17,7 +17,7 @@ func resolveCheckPointID(input string, runID string) string {
|
||||
return "eino_cp_" + strings.TrimSpace(runID)
|
||||
}
|
||||
|
||||
func buildResumeDataMessage(resumeData map[string]any) *schema.Message {
|
||||
func buildResumeDataMessage(resumeData map[string]string) *schema.Message {
|
||||
if len(resumeData) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ type ResumeInput struct {
|
||||
AIAgent *models.AIAgent
|
||||
AIConfig *models.AIConfig
|
||||
CheckPointID string
|
||||
ResumeData map[string]any
|
||||
ResumeData map[string]string
|
||||
ToolSet *registry.ToolSet
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user