fix: type annotations

This commit is contained in:
Haileyesus
2026-02-12 21:00:47 +03:00
parent d8fbea8681
commit 474d324ea3
2 changed files with 3 additions and 3 deletions

View File

@@ -439,8 +439,8 @@ export const TOOL_CONFIGS: Record<string, ToolDisplayConfig> = {
// If content is an array (typical for agent responses with multiple text blocks)
if (Array.isArray(result.content)) {
const textContent = result.content
.filter(item => item.type === 'text')
.map(item => item.text)
.filter((item: any) => item.type === 'text')
.map((item: any) => item.text)
.join('\n\n');
return { content: textContent || 'No response text' };
}

View File

@@ -1,5 +1,5 @@
import type React from 'react';
import type { LoadingProgress, Project, ProjectSession, SessionProvider } from '../../types/app';
import type { LoadingProgress, Project, ProjectSession, SessionProvider } from '../../../types/app';
export type ProjectSortOrder = 'name' | 'date';