This error is generated: ```Argument of type '{ me...
# 💻developers
g
This error is generated:
Copy code
Argument of type '{ method: string; maxBodyLength: number; url: string; headers: { 'OpenAI-Beta': string; Authorization: string; 'Content-Type': string; }; responseType: string; data: string; }' is not assignable to parameter of type 'AxiosRequestConfig<string>'.
  Types of property 'responseType' are incompatible.
    Type 'string' is not assignable to type 'ResponseType | undefined'.
from this code:
Copy code
const config = {
    method: 'post',
    maxBodyLength: Infinity,
    url: `https://api.openai.com/v1/threads/${workflow.threadId}/runs`,
    headers: {
      'OpenAI-Beta': 'assistants=v2',
      Authorization: 'Bearer ' + env.openAIToken,
      'Content-Type': 'application/json'
    },
    responseType: 'stream',
    data: data
  }
because TypeScript does not recognize config as an axios request config and thus doesnt set it up as one, so i want to explicitely declare it as AxiosRequestConfig, but in order to do that I have to import or require it