style: format code

This commit is contained in:
Vincent Yang
2024-04-02 21:33:33 -04:00
parent de3918c149
commit cd652685cf
2 changed files with 238 additions and 219 deletions

View File

@@ -1,18 +1,18 @@
const axios = require('axios');
const axios = require("axios");
const API_URL = 'http://localhost:3040/v1/chat/completions';
const API_URL = "http://localhost:3040/v1/chat/completions";
const prompt = 'Hello, how are you?';
const prompt = "Hello, how are you?";
const data = {
model: 'gpt-3.5-turbo',
messages: [{ role: 'user', content: prompt }],
model: "gpt-3.5-turbo",
messages: [{ role: "user", content: prompt }],
temperature: 0.7,
};
const config = {
headers: {
'Content-Type': 'application/json',
"Content-Type": "application/json",
},
};