File tree Expand file tree Collapse file tree 3 files changed +1
-35
lines changed
client/components/Admin/ChatInstances Expand file tree Collapse file tree 3 files changed +1
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,22 +4,13 @@ import { Response } from 'express'
44
55import { AzureOptions , APIError } from '../types'
66import { AZURE_RESOURCE , AZURE_API_KEY } from './config'
7- import { validModels , inProduction } from '../../config'
7+ import { validModels } from '../../config'
88import logger from './logger'
9- import { AzureOpenAI } from 'openai'
109
1110const endpoint = `https://${ AZURE_RESOURCE } .openai.azure.com/`
1211
1312const oldClient = new OpenAIClient ( endpoint , new AzureKeyCredential ( AZURE_API_KEY ) )
1413
15- export const getAzureOpenAIClient = ( deployment ?: string ) =>
16- new AzureOpenAI ( {
17- apiKey : AZURE_API_KEY ,
18- deployment,
19- apiVersion : '2025-03-01-preview' ,
20- endpoint,
21- } )
22-
2314/**
2415 * Mock stream for testing
2516 */
Original file line number Diff line number Diff line change @@ -84,14 +84,6 @@ export const TEST_COURSES = {
8484 } ,
8585}
8686
87- export const TEST_USER_IDS = [
88- 'hy-hlo-95971222' ,
89- 'hy-hlo-1442996' ,
90- 'otm-688bac31-4ddf-4b81-a562-6cea8260262a' ,
91- 'hy-hlo-129129327' ,
92- 'hy-hlo-45702058' ,
93- 'hy-hlo-1397482' ,
94- ]
9587export const TEST_USERS = {
9688 enrolled : 'grp-currechat-demostudents' ,
9789 teachers : 'grp-currechat-demoteachers' ,
You can’t perform that action at this time.
0 commit comments