Skip to content

Commit

Permalink
Change apiKey to token
Browse files Browse the repository at this point in the history
  • Loading branch information
KATTA-00 committed Aug 21, 2024
1 parent e001c57 commit 123f3b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down
4 changes: 2 additions & 2 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ import ballerina/io;
Create a `finetunes:ConnectionConfig` with the obtained API Key and initialize the connector.

```ballerina
configurable string apiKey = ?;
configurable string token = ?;
final finetunes:Client openAIFinetunes = check new({
auth: {
token: apiKey
token
}
});
```
Expand Down

0 comments on commit 123f3b4

Please sign in to comment.