Skip to content

Commit 55671c5

Browse files
committed
Remove some more noisy logs
1 parent fbd8a72 commit 55671c5

File tree

4 files changed

+0
-36
lines changed

4 files changed

+0
-36
lines changed

cli/src/hooks/use-connection-status.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,7 @@ export const useConnectionStatus = (
100100
consecutiveSuccesses++
101101
const newInterval = getNextInterval(consecutiveSuccesses)
102102

103-
// Log when interval changes
104103
if (newInterval !== currentInterval) {
105-
logger.debug(
106-
{
107-
consecutiveSuccesses,
108-
oldInterval: currentInterval,
109-
newInterval,
110-
},
111-
'Health check interval increased',
112-
)
113104
currentInterval = newInterval
114105
}
115106

cli/src/hooks/use-gravity-ad.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,6 @@ export const useGravityAd = (): GravityAdState => {
166166
const data = await response.json()
167167
const ad = data.ad as AdResponse | null
168168

169-
logger.info(
170-
{ ad },
171-
'[gravity] Received ad response',
172-
)
173169
return ad
174170
} catch (err) {
175171
logger.error({ err }, '[gravity] Failed to fetch ad')

packages/agent-runtime/src/tools/handlers/tool/spawn-agent-inline.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import {
22
validateAndGetAgentTemplate,
33
validateAgentInput,
4-
logAgentSpawn,
54
executeSubagent,
65
createAgentState,
76
extractSubagentContextParams,
@@ -109,17 +108,6 @@ export const handleSpawnAgentInline = (async (
109108
})),
110109
}
111110

112-
logAgentSpawn({
113-
agentTemplate: inlineTemplate,
114-
agentType,
115-
agentId: childAgentState.agentId,
116-
parentId: childAgentState.parentId,
117-
prompt,
118-
spawnParams,
119-
inline: true,
120-
logger,
121-
})
122-
123111
// Extract common context params to avoid bugs from spreading all params
124112
const contextParams = extractSubagentContextParams(params)
125113

packages/agent-runtime/src/tools/handlers/tool/spawn-agents.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import {
44
validateAndGetAgentTemplate,
55
validateAgentInput,
66
createAgentState,
7-
logAgentSpawn,
87
executeSubagent,
98
extractSubagentContextParams,
109
} from './spawn-agent-utils'
@@ -102,16 +101,6 @@ export const handleSpawnAgents = (async (
102101
{},
103102
)
104103

105-
logAgentSpawn({
106-
agentTemplate,
107-
agentType,
108-
agentId: subAgentState.agentId,
109-
parentId: subAgentState.parentId,
110-
prompt,
111-
spawnParams,
112-
logger,
113-
})
114-
115104
// Extract common context params to avoid bugs from spreading all params
116105
const contextParams = extractSubagentContextParams(params)
117106

0 commit comments

Comments
 (0)