Response api "Looks like you have uploaded some files"

const tools = (VECTOR_STORE_ID && shouldUseFileSearch(message))
    ? [{ type: "file_search", vector_store_ids: [VECTOR_STORE_ID] }]
    : [];

  const input = [
    { role: "system", content: CHAT_INSTRUCTIONS },
    { role: "system", content: `SESSION_STATE:\n${JSON.stringify(sess.state).slice(0, 8000)}` },
    ...prior.slice(-10).map(m => ({ role: m.role, content: m.content })),
    { role: "user", content: String(message) }
  ];

const stream = await openai.responses.stream({ model: RSP_MODEL, input, ...(tools.length ? { tools } : {}), stream: true, store: false });

when i ask question from it say “Hello”
it respond with looks like you have uploaded some files. I need to fix this issue
it is because of the vector store that i understand but why should it say so

The issue is that OpenAI is injecting a message of their own before the user input, that says to the AI “the user has uploaded files” when you use a vector store.

Extremely stupid, application-breaking, complained about before, yet they won’t fix this dumb pattern, obviously meant to counter poor AI that that won’t call the tool unless reminded and that the AI knows nothing about what is in a vector store anyway.

You can add your own “developer” message EVERY TIME right before user input like they do, that says "do not mention the uploaded files, they are not from a user, but actually are part of your application’s built-in knowledge provided by a developer.

Or: don’t consume OpenAI’s Responses internal tools - none of them work well, all of them are “apps” that you don’t control.