fix(llm): persistent /config dir of hermes agent (#24834)

This commit is contained in:
Zexi Li
2026-05-18 14:57:26 +08:00
committed by GitHub
parent 3209292fc9
commit d38b835f8e
@@ -47,6 +47,14 @@ func (h *hermesAgent) GetContainerSpec(ctx context.Context, llm *models.SLLM, im
diskIndex := 0
hermesVols := []*commonapi.ContainerVolumeMount{
{
Disk: &commonapi.ContainerVolumeMountDisk{
Index: &diskIndex,
SubDirectory: "config",
},
Type: commonapi.CONTAINER_VOLUME_MOUNT_TYPE_DISK,
MountPath: desktopConfigDir,
},
{
Disk: &commonapi.ContainerVolumeMountDisk{
Index: &diskIndex,