Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sync #591

Closed
wants to merge 27 commits into from
Closed

sync #591

Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
118edfe
test
LukeSamkharadze Nov 17, 2023
dc4e895
skip deno
LukeSamkharadze Nov 17, 2023
ea80185
change base url
LukeSamkharadze Nov 18, 2023
502ad56
use martian_api_key if defined
LukeSamkharadze Nov 18, 2023
d931f0a
update package json
LukeSamkharadze Nov 18, 2023
e65fc2d
revert build-deno
LukeSamkharadze Nov 18, 2023
063d96d
Merge pull request #1 from openai/master
LukeSamkharadze Nov 20, 2023
621e698
feat: make model optional
LukeSamkharadze Nov 20, 2023
1bc7d63
docs: update readmy
LukeSamkharadze Nov 20, 2023
255c844
chore: bump version
LukeSamkharadze Nov 20, 2023
3976e80
chore: bump version
LukeSamkharadze Nov 20, 2023
a1ea8cc
add shim node
LukeSamkharadze Nov 21, 2023
c77c7a8
bump version
LukeSamkharadze Nov 21, 2023
4a4cbb3
rename openai to martian-node
LukeSamkharadze Nov 21, 2023
5af9589
fix readme
LukeSamkharadze Nov 21, 2023
bbaf396
feat: release on push
LukeSamkharadze Nov 21, 2023
a0f8cdd
fix: disable unecesary workflows
LukeSamkharadze Nov 21, 2023
0cc215a
docs: update readme
LukeSamkharadze Nov 21, 2023
a79c54e
feat: add array option
LukeSamkharadze Nov 27, 2023
ab29555
updates types
LukeSamkharadze Nov 27, 2023
f2cb238
update readme
LukeSamkharadze Nov 27, 2023
1e4a4c7
feat: add router to model type
LukeSamkharadze Dec 1, 2023
9f33a3f
feat: make model required argument
LukeSamkharadze Dec 7, 2023
792d8d7
fix: change OPENAI_API_KEY to MARTIAN_API_KEY
LukeSamkharadze Dec 7, 2023
84a7c93
chore: bump version
LukeSamkharadze Dec 7, 2023
7382f53
docs(readme): add multi model example
LukeSamkharadze Dec 7, 2023
576de3c
Merge branch 'master' of github.com:openai/openai-node
LukeSamkharadze Dec 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs(readme): add multi model example
  • Loading branch information
LukeSamkharadze committed Dec 7, 2023
commit 7382f53443e9e695ca6ee364aed30a11d87f10b7
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ async function main() {
const chatCompletion = await openai.chat.completions.create({
messages: [{ role: 'user', content: 'Say this is a test' }],
model: 'router',
// model: ['gpt-3.5-turbo', 'claude-v1'], // If more than one is specified, the router chooses the best among them
// If more than one model is specified, the router chooses the best among them
// model: ['gpt-3.5-turbo', 'claude-v1'],
});
}

Expand Down