Hey there,
I wanted to bring up something I’ve noticed regarding the requests I’ve been receiving on my API key. I’ve set up my fetch requests to specifically use the “gpt-3.5-turbo” model. However, I’ve been receiving requests for “gpt-4” on my key, despite never having made any requests for that model.
I was wondering if you could shed some light on why this might be happening. I’d really appreciate your help in understanding this situation better.
Code to making a request to OpenAI’s API using the fetch and gpt-3.5-turbo:
const requestOptions = {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({
model: 'gpt-3.5-turbo',
messages : prompts,
max_tokens: 500,
temperature: 0.5,
n: 1,
}),
};
const response = await fetch(
'https://api.openai.com/v1/chat/completions',
requestOptions
);
Thanks in advance for your assistance!