This commit is contained in:
Andrew Pareles 2025-03-17 16:26:33 -07:00
parent f64f6b54b4
commit ad2e5f2616
2 changed files with 1 additions and 2 deletions

View file

@ -384,7 +384,6 @@ const RenderToken = ({ token, inPTag, codeURI, chatMessageLocation, tokenIdx, ..
export const ChatMarkdownRender = ({ string, inPTag = false, chatMessageLocation, ...options }: { string: string, inPTag?: boolean, codeURI?: URI, chatMessageLocation: ChatMessageLocation | undefined } & RenderTokenOptions) => { export const ChatMarkdownRender = ({ string, inPTag = false, chatMessageLocation, ...options }: { string: string, inPTag?: boolean, codeURI?: URI, chatMessageLocation: ChatMessageLocation | undefined } & RenderTokenOptions) => {
console.log('STRING!!!', string)
const tokens = marked.lexer(string); // https://marked.js.org/using_pro#renderer const tokens = marked.lexer(string); // https://marked.js.org/using_pro#renderer
return ( return (
<> <>

View file

@ -332,7 +332,7 @@ export class ToolsService implements IToolsService {
}, },
edit: async ({ uri, changeDescription }) => { edit: async ({ uri, changeDescription }) => {
const [_, applyDonePromise] = await editCodeService.startApplying({ // throws error if error const [_, applyDonePromise] = await editCodeService.startApplying({
uri, uri,
applyStr: changeDescription, applyStr: changeDescription,
from: 'ClickApply', from: 'ClickApply',