chore: refactor agent to skill-first; structured skills dirs; enhance ReAct and tool logs
This commit is contained in:
@@ -38,7 +38,7 @@ func (t *Tool) Description() string {
|
||||
func (t *Tool) Call(_ context.Context, input string) (string, error) {
|
||||
input = strings.TrimSpace(input)
|
||||
if t.log != nil {
|
||||
t.log.Debugf("file tool call input_len=%d", len(input))
|
||||
t.log.Infof("file tool call input_len=%d input=%q", len(input), input)
|
||||
}
|
||||
if strings.HasPrefix(input, "read ") {
|
||||
path := strings.TrimSpace(strings.TrimPrefix(input, "read "))
|
||||
|
||||
Reference in New Issue
Block a user