Skip to content

Commit

Permalink
fix(toolbox): 词法分析匹配错误
Browse files Browse the repository at this point in the history
  • Loading branch information
mark9804 committed Jul 2, 2024
1 parent 84a2578 commit 1baca7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function getSemantics() {
return;
}
// @ts-ignore
useTranslationCache.setSemantic(props.text, res.tokens);
useTranslationCache.setSemantic(res.original, res.tokens);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ async function parseSemantics(
const result = {
status: AnthropicStatusCode.NORMAL,
message: "",
original: input,
tokens: [] as SemanticUnit[],
};

Expand Down

0 comments on commit 1baca7d

Please sign in to comment.