Skip to content

Commit 4458d65

Browse files
committed
feat export createAxiosLanguageModel #94
1 parent e8395ef commit 4458d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function createAzureOpenAILanguageModel(apiKey: string, endPoint: string,
8686
/**
8787
* Common implementation of language model encapsulation of an OpenAI REST API endpoint.
8888
*/
89-
function createAxiosLanguageModel(url: string, config: object, defaultParams: Record<string, string>) {
89+
export function createAxiosLanguageModel(url: string, config: object, defaultParams: Record<string, string>) {
9090
const client = axios.create(config);
9191
const model: TypeChatLanguageModel = {
9292
complete

0 commit comments

Comments
 (0)