Skip to content

Commit f2e11dd

Browse files
committed
add name modification overlay
1 parent c7d4982 commit f2e11dd

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

examples/chatCreateChatCompletion.example.ts

Lines changed: 0 additions & 33 deletions
This file was deleted.

examples/chatCreateChatCompletion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const openRouter = new OpenRouter({
1818
});
1919

2020
async function main() {
21-
const result = await openRouter.chat.createChatCompletion({
21+
const result = await openRouter.chat.complete({
2222
model: "openai/gpt-3.5-turbo",
2323
messages: [
2424
{

examples/sseChatCreateChatCompletion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const openRouter = new OpenRouter({
1818
});
1919

2020
async function main() {
21-
const result = await openRouter.chat.streamChatCompletion({
21+
const result = await openRouter.chat.completeStream({
2222
model: "openai/gpt-3.5-turbo",
2323
messages: [
2424
{

0 commit comments

Comments
 (0)