You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf"Error: Auggie is not installed. Please enable install_auggie or install it manually\n"
57
-
exit 1
58
-
fi
50
+
if command_exists auggie;then
51
+
printf"Auggie is installed\n"
52
+
else
53
+
printf"Error: Auggie is not installed. Please enable install_auggie or install it manually\n"
54
+
exit 1
55
+
fi
59
56
}
60
57
61
58
functionbuild_auggie_args() {
62
59
if [ -n"$ARG_AUGGIE_INTERACTION_MODE" ];then
63
-
if [ "$ARG_AUGGIE_INTERACTION_MODE"!="interactive" ];then
64
-
ARGS+=(--"$ARG_AUGGIE_INTERACTION_MODE")
65
-
fi
60
+
if [ "$ARG_AUGGIE_INTERACTION_MODE"!="interactive" ];then
61
+
ARGS+=(--"$ARG_AUGGIE_INTERACTION_MODE")
62
+
fi
66
63
fi
67
64
68
65
if [ -n"$ARG_AUGGIE_MODEL" ];then
69
-
ARGS+=(--model "$ARG_AUGGIE_MODEL")
66
+
ARGS+=(--model "$ARG_AUGGIE_MODEL")
70
67
fi
71
68
72
69
if [ -n"$ARG_MCP_CONFIG" ];then
73
-
ARGS+=(--mcp-config "$ARG_MCP_CONFIG")
70
+
ARGS+=(--mcp-config "$ARG_MCP_CONFIG")
74
71
fi
75
72
76
73
if [ -n"$ARG_MCP_FILES" ];then
77
74
forfilein$(echo "$ARG_MCP_FILES"| jq -r '.[]');do
78
-
ARGS+=(--mcp-config "$file")
75
+
ARGS+=(--mcp-config "$file")
79
76
done
80
77
fi
81
78
@@ -88,25 +85,23 @@ function build_auggie_args() {
88
85
fi
89
86
90
87
if [ "$ARG_AUGGIE_CONTINUE_PREVIOUS_CONVERSATION"=="true" ];then
91
-
ARGS+=(--continue)
88
+
ARGS+=(--continue)
92
89
fi
93
90
94
-
95
91
if [ -n"$ARG_TASK_PROMPT" ];then
96
-
PROMPT="Every step of the way, report your progress using coder_report_task tool with proper summary and statuses. Your task at hand: $ARG_TASK_PROMPT"
97
-
ARGS+=(--instruction "$PROMPT")
92
+
PROMPT="Every step of the way, report your progress using coder_report_task tool with proper summary and statuses. Your task at hand: $ARG_TASK_PROMPT"
0 commit comments