mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-27 04:36:12 +01:00
ci: fix backend tests due to new updates
This commit is contained in:
parent
6082e26716
commit
3eabbd572e
5 changed files with 14 additions and 13 deletions
|
|
@ -1014,7 +1014,7 @@ ${convo}
|
|||
context,
|
||||
model: this.modelOptions.model,
|
||||
conversationId: this.conversationId,
|
||||
user: this.user ?? this.options.req.user.id,
|
||||
user: this.user ?? this.options.req.user?.id,
|
||||
endpointTokenConfig: this.options.endpointTokenConfig,
|
||||
},
|
||||
{ promptTokens, completionTokens },
|
||||
|
|
|
|||
|
|
@ -144,6 +144,7 @@ describe('OpenAIClient', () => {
|
|||
|
||||
const defaultOptions = {
|
||||
// debug: true,
|
||||
req: {},
|
||||
openaiApiKey: 'new-api-key',
|
||||
modelOptions: {
|
||||
model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue