fix: improve push to github option (#1111)

* feat: better push to githubbutton

* added url update on push to github
This commit is contained in:
Anirban Kar
2025-01-27 17:58:25 +05:30
committed by GitHub
parent df766c98d4
commit 6d4196a2b4
7 changed files with 95 additions and 19 deletions

View File

@@ -94,7 +94,7 @@ ${file.content}
messages.push(commandsMessage);
}
await importChat(`Git Project:${repoUrl.split('/').slice(-1)[0]}`, messages);
await importChat(`Git Project:${repoUrl.split('/').slice(-1)[0]}`, messages, { gitUrl: repoUrl });
}
} catch (error) {
console.error('Error during import:', error);