We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b57cc commit ad80e54Copy full SHA for ad80e54
backend/src/main-prompt.ts
@@ -151,7 +151,12 @@ export const mainPrompt = async (
151
mainAgentTemplate.spawnableAgents = updatedSubagents
152
localAgentTemplates[agentType] = mainAgentTemplate
153
154
- if (prompt && mainAgentTemplate.toolNames.includes('run_terminal_command')) {
+ // TODO (fat sdk): remove this once we switch to sdk-only
155
+ if (
156
+ prompt &&
157
+ mainAgentTemplate.toolNames.includes('run_terminal_command') &&
158
+ !fingerprintId.startsWith('codebuff-sdk-')
159
+ ) {
160
// Check if this is a direct terminal command
161
const startTime = Date.now()
162
const terminalCommand = await checkTerminalCommand({
0 commit comments