agentscope-ai / agentscope-ai/agentscope-java

沙盒执行命令的问题

Aperta
#1,772 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/harness bug
Lingua principale
Java
Stelle
5.6k
Fork
1.3k
Merge medio
4g 12h
PR unite (30g)
77

Descrizione

在使用agentscope-codingagent示例项目测试时,让模型在工作区生成一个简单的python文件,模型调用@Tool => write_file时,代码在校验目录下是否存在文件时生成的docker命令(debug拿到的) if [ -e 'escapedPath' ]; then echo 'EXISTS'; exit 1; fi; mkdir -p "$(dirname 'escapedPath')" 2>&1; exit 0
一直会报错:hello_world.py) 2>&1: 1: Syntax error: end of file unexpected (expecting ")")
这是为何,求解

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.