mirror of https://github.com/kortix-ai/suna.git
AI: How can we stream the edit_file tool when it generating like create_file ? Also the edit_file tool show this
"""Invalid File Edit Could not extract the file changes from the tool result.""" Check the state of code base and make to sure implement fully
This commit is contained in:
parent
fe1e1c6fb4
commit
d4619f0744
|
@ -2,6 +2,8 @@ import React, { useEffect, useRef, useState } from 'react';
|
|||
import { CircleDashed } from 'lucide-react';
|
||||
import { extractToolNameFromStream } from '@/components/thread/tool-views/xml-parser';
|
||||
import { getToolIcon, getUserFriendlyToolName, extractPrimaryParam } from '@/components/thread/utils';
|
||||
import { CodeBlockCode } from '@/components/ui/code-block';
|
||||
import { getLanguageFromFileName } from '../tool-views/file-operation/_utils';
|
||||
|
||||
// Only show streaming for file operation tools
|
||||
const FILE_OPERATION_TOOLS = new Set([
|
||||
|
|
Loading…
Reference in New Issue