mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-28 17:07:16 +00:00
clean: code does not need to announce it was updated
This broke the jsdoc comment for _init in OpenAICompletionService
This commit is contained in:
@@ -34,6 +34,7 @@ class OpenAICompletionService extends BaseService {
|
||||
openai: require('openai'),
|
||||
tiktoken: require('tiktoken'),
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the OpenAI service by setting up the API client with credentials
|
||||
* and registering this service as a chat provider.
|
||||
@@ -41,9 +42,6 @@ class OpenAICompletionService extends BaseService {
|
||||
* @returns {Promise<void>} Resolves when initialization is complete
|
||||
* @private
|
||||
*/
|
||||
|
||||
//New Updated Code (with backward compatibility)
|
||||
//issue: #1180
|
||||
async _init () {
|
||||
// Check for the new format under `services.openai.apiKey`
|
||||
let apiKey =
|
||||
|
||||
Reference in New Issue
Block a user