Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agent/app/service/agents_overview.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func countOpenclawConfiguredChannels(conf map[string]interface{}) int {
}

func loadOpenclawOverviewSkillStats(containerName string) (int, error) {
output, err := runDockerExecWithStdout(30*time.Second, containerName, "sh", "-c", "openclaw skills list --json 2>&1")
output, err := runDockerExecWithStdout(5*time.Minute, containerName, "sh", "-c", "openclaw skills list --json 2>&1")
if err != nil {
return 0, err
}
Expand Down
8 changes: 4 additions & 4 deletions agent/app/service/agents_skills.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (a AgentService) ListSkills(req dto.AgentIDReq) ([]dto.AgentSkillItem, erro
if err := ensureContainerRunning(install.ContainerName); err != nil {
return nil, err
}
output, err := runDockerExecWithStdout(60*time.Second, install.ContainerName, "sh", "-c", "openclaw skills list --json 2>&1")
output, err := runDockerExecWithStdout(5*time.Minute, install.ContainerName, "sh", "-c", "openclaw skills list --json 2>&1")
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -153,10 +153,10 @@ func parseOpenclawSkillsList(output string) ([]dto.AgentSkillItem, error) {
func loadOpenclawSkillSearchOutput(containerName, source, keyword string) (string, error) {
switch source {
case "skillhub":
return runDockerExecWithStdout(60*time.Second, containerName, "skillhub", "search", keyword, "--json")
return runDockerExecWithStdout(2*time.Minute, containerName, "skillhub", "search", keyword, "--json")
default:
return runDockerExecWithStdout(
60*time.Second,
2*time.Minute,
containerName,
"sh",
"-c",
Expand Down Expand Up @@ -238,7 +238,7 @@ func resolveClawhubRegistry(source string) string {
}

func getOpenclawSkillKey(containerName, name string) (string, error) {
output, err := runDockerExecWithStdout(60*time.Second, containerName, "sh", "-c", fmt.Sprintf("openclaw skills info %q --json 2>&1", name))
output, err := runDockerExecWithStdout(2*time.Minute, containerName, "sh", "-c", fmt.Sprintf("openclaw skills info %q --json 2>&1", name))
if err != nil {
return "", err
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/ai/agents/model/pool/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const editorTitle = computed(() =>
);

const rules = reactive({
id: [Rules.noSpace],
id: [Rules.requiredInput, Rules.noSpace],
name: [Rules.requiredInput],
contextWindow: [Rules.integerNumber],
maxTokens: [Rules.integerNumber],
Expand Down
Loading