axflow / axflow

The TypeScript framework for AI development

Home Page:https://axflow.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to change the base url and add a header to the OpenAI request?

chitalian opened this issue · comments

Title says it all

Hey @chitalian, yes you can! Did you take a look at the docs? All our functions (for openai and other model providers) accept apiUrl and headers options which allow you to configure the API url and request headers.