Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
ca26d9e98d | |||
61b6161470 | |||
463183bd3a | |||
069a74d2b4 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@git.zone/tsdoc",
|
"name": "@git.zone/tsdoc",
|
||||||
"version": "1.1.21",
|
"version": "1.1.23",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.",
|
"description": "An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsdoc',
|
name: '@git.zone/tsdoc',
|
||||||
version: '1.1.21',
|
version: '1.1.23',
|
||||||
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.'
|
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.'
|
||||||
}
|
}
|
||||||
|
@ -49,6 +49,8 @@ export class AiDoc {
|
|||||||
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
this.openaiToken = this.argvArg.OPENAI_TOKEN;
|
||||||
} else {
|
} else {
|
||||||
// lets try smartinteract
|
// lets try smartinteract
|
||||||
|
// wait for a second until OpenAI fixes punycode problem...
|
||||||
|
await plugins.smartdelay.delayFor(1000);
|
||||||
const answerObject = await this.smartinteractInstance.askQuestion({
|
const answerObject = await this.smartinteractInstance.askQuestion({
|
||||||
type: 'input',
|
type: 'input',
|
||||||
message: `Please provide your OpenAI token`,
|
message: `Please provide your OpenAI token`,
|
||||||
@ -59,7 +61,7 @@ export class AiDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.printSanitizedToken();
|
this.printSanitizedToken();
|
||||||
// await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
await this.npmextraKV.writeKey('OPENAI_TOKEN', this.openaiToken);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user