docs(security): avoid credential-like api key example
This commit is contained in:
parent
a6547eda2f
commit
a5f07a9ef8
@ -36,7 +36,7 @@ await adapter.start()
|
|||||||
import OpenAI from 'openai'
|
import OpenAI from 'openai'
|
||||||
|
|
||||||
const client = new OpenAI({
|
const client = new OpenAI({
|
||||||
apiKey: 'not-needed',
|
apiKey: '<key>',
|
||||||
baseURL: 'http://localhost:3111/v1'
|
baseURL: 'http://localhost:3111/v1'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user