mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix(llm): persistent /config dir of hermes agent (#24834)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user