File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
assets/md/api-reference/chat-completions Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22curl -X POST " https://api.forge.tensorblock.co/v1/chat/completions" \
33 -H " Content-Type: application/json" \
44 -d ' {
5- "model": "gpt-4o",
5+ "model": "OpenAI/ gpt-4o",
66 "messages": [
77 {
88 "role": "user",
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import (
1111func main () {
1212 url := " https://api.forge.tensorblock.co/v1/chat/completions"
1313 body := strings.NewReader (` {
14- "model": "gpt-4o",
14+ "model": "OpenAI/ gpt-4o",
1515 "messages": [
1616 {
1717 "role": "user",
Original file line number Diff line number Diff line change 11``` javascript
22const body = JSON .stringify ({
3- " model" : " gpt-4o" ,
3+ " model" : " OpenAI/ gpt-4o" ,
44 " messages" : [
55 {
66 " role" : " user" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import requests
33
44url = " https://api.forge.tensorblock.co/v1/chat/completions"
55body = {
6- " model" : " gpt-4o" ,
6+ " model" : " OpenAI/ gpt-4o" ,
77 " messages" : [
88 {
99 " role" : " user" ,
You can’t perform that action at this time.
0 commit comments