mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00
fixes tests
This commit is contained in:

committed by
Geoff Seemueller

parent
362f50bf85
commit
0c999e0400
@@ -88,7 +88,7 @@ export class ChatSdk {
|
||||
});
|
||||
}
|
||||
|
||||
static buildMessageChain(
|
||||
static async buildMessageChain(
|
||||
messages: any[],
|
||||
opts: {
|
||||
systemPrompt: any;
|
||||
@@ -98,7 +98,7 @@ export class ChatSdk {
|
||||
env: Env;
|
||||
},
|
||||
) {
|
||||
const modelFamily = ProviderRepository.getModelFamily(opts.model, opts.env)
|
||||
const modelFamily = await ProviderRepository.getModelFamily(opts.model, opts.env)
|
||||
|
||||
const messagesToSend = [];
|
||||
|
||||
|
Reference in New Issue
Block a user