forked from phoenix/litellm-mirror
(docs) passing user config
This commit is contained in:
parent
0fffcc1579
commit
0d0ee9e108
1 changed files with 1 additions and 1 deletions
|
@ -382,7 +382,7 @@ async function main() {
|
||||||
const chatCompletion = await openai.chat.completions.create({
|
const chatCompletion = await openai.chat.completions.create({
|
||||||
messages: [{ role: 'user', content: 'Say this is a test' }],
|
messages: [{ role: 'user', content: 'Say this is a test' }],
|
||||||
model: 'gpt-3.5-turbo',
|
model: 'gpt-3.5-turbo',
|
||||||
user_config: userConfig // 👈 User Key
|
user_config: userConfig // # 👈 User config
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue