Skip to content

Commit 476c5a1

Browse files
authored
chore: remove debug console.logs and fix typos (#1820)
1 parent 3f25496 commit 476c5a1

2 files changed

Lines changed: 12 additions & 16 deletions

File tree

multimodal/tarko/agent-server/src/utils/agent-resolver.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@ interface AgentResolutionOptions {
2121
}
2222

2323
export async function resolveAgentImplementation(
24-
implementaion?: AgentImplementation,
24+
implementation?: AgentImplementation,
2525
options?: AgentResolutionOptions,
2626
): Promise<AgentResolutionResult> {
27-
if (!implementaion) {
28-
throw new Error(`Missing agent implmentation`);
27+
if (!implementation) {
28+
throw new Error(`Missing agent implementation`);
2929
}
3030

31-
if (isAgentImplementationType(implementaion, 'module')) {
31+
if (isAgentImplementationType(implementation, 'module')) {
3232
return {
33-
agentName: implementaion.label ?? implementaion.constructor.label ?? 'Anonymous',
34-
agentConstructor: implementaion.constructor,
35-
agioProviderConstructor: implementaion.agio,
33+
agentName: implementation.label ?? implementation.constructor.label ?? 'Anonymous',
34+
agentConstructor: implementation.constructor,
35+
agioProviderConstructor: implementation.agio,
3636
};
3737
}
3838

39-
if (isAgentImplementationType(implementaion, 'modulePath')) {
40-
const agentModulePathIdentifier = implementaion.value;
39+
if (isAgentImplementationType(implementation, 'modulePath')) {
40+
const agentModulePathIdentifier = implementation.value;
4141

4242
try {
4343
// Build resolve options with workspace path if provided
@@ -74,9 +74,9 @@ export async function resolveAgentImplementation(
7474
}
7575

7676
return {
77-
agentName: implementaion.label ?? agentConstructor.label ?? 'Anonymous',
77+
agentName: implementation.label ?? agentConstructor.label ?? 'Anonymous',
7878
agentConstructor,
79-
agioProviderConstructor: implementaion.agio,
79+
agioProviderConstructor: implementation.agio,
8080
};
8181
} catch (error) {
8282
throw new Error(
@@ -85,5 +85,5 @@ export async function resolveAgentImplementation(
8585
}
8686
}
8787

88-
throw new Error(`Non-supported agent type: ${implementaion.type}`);
88+
throw new Error(`Non-supported agent type: ${implementation.type}`);
8989
}

packages/ui-tars/visualizer/src/component/detail-panel.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ const DetailPanel = (): JSX.Element => {
170170
(nextTask.timing.start - activeTask.timing.start) / playbackSpeed;
171171
}
172172

173-
console.log('nextIndex', nextIndex, nextTask);
174-
175173
timeoutId = setTimeout(() => {
176174
setActiveTask(nextTask);
177175
}, delay);
@@ -228,8 +226,6 @@ const DetailPanel = (): JSX.Element => {
228226
};
229227
});
230228

231-
console.log('startReplay', startReplay);
232-
233229
return (
234230
<div className="detail-panel">
235231
<div className="view-switcher">

0 commit comments

Comments
 (0)