Support configuring effort alongside model
This commit is contained in:
@@ -199,7 +199,7 @@ func (m *Manager) terminalTypeTool(l *live) mcp.Tool {
|
||||
func (m *Manager) wakeOnPrompt(l *live) func(string, []byte) {
|
||||
return func(exit string, out []byte) {
|
||||
text := fmt.Sprintf("The terminal you last typed into is back at its prompt: the command there finished with exit status %s (130 means it was canceled with Ctrl-C). The terminal's output since your last terminal_type reply:\n\n%s", exit, terminal.Text(out))
|
||||
_, _, err := m.Message(context.Background(), l.id, "byre", text, "", "", "")
|
||||
_, _, err := m.Message(context.Background(), l.id, "byre", text, "", "", "", "")
|
||||
if err != nil {
|
||||
slog.Error("wake agent on terminal prompt", "session", l.id, "task", l.taskID, "err", err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user