rm log message

This commit is contained in:
duanfuxiang 2025-04-02 08:57:47 +08:00
parent a958bd9f39
commit 108a86d6c4
2 changed files with 1 additions and 3 deletions

View File

@ -254,8 +254,6 @@ export const InlineEdit: React.FC<InlineEditProps> = ({
}
const oldContent = await plugin.app.vault.read(activeFile);
console.log(oldContent);
console.log(updatedContent);
await plugin.app.workspace.getLeaf(true).setViewState({
type: APPLY_VIEW_TYPE,
active: true,

View File

@ -32,7 +32,7 @@ function cosineSimilarity(vecA: number[], vecB: number[]): number {
async function serperSearch(query: string, serperApiKey: string, serperSearchEngine: string): Promise<SearchResult[]> {
return new Promise((resolve, reject) => {
const url = `${SERPER_BASE_URL}?q=${encodeURIComponent(query)}&engine=${serperSearchEngine}&api_key=${serperApiKey}&num=20`;
console.log("serper search url: ", url)
// console.log("serper search url: ", url)
https.get(url, (res: any) => {
let data = '';