fix(core): update
This commit is contained in:
parent
181193352e
commit
268178f024
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartai',
|
name: '@push.rocks/smartai',
|
||||||
version: '0.0.7',
|
version: '0.0.8',
|
||||||
description: 'a standardaized interface to talk to AI models'
|
description: 'a standardaized interface to talk to AI models'
|
||||||
}
|
}
|
||||||
|
@ -58,7 +58,7 @@ export class OpenAiProvider extends MultiModal {
|
|||||||
}[]
|
}[]
|
||||||
) {
|
) {
|
||||||
const result = await this.openAiApiClient.chat.completions.create({
|
const result = await this.openAiApiClient.chat.completions.create({
|
||||||
model: 'gpt-3.5-turbo-16k-0613',
|
model: 'gpt-4-turbo-preview',
|
||||||
messages: [
|
messages: [
|
||||||
{ role: 'system', content: systemMessage },
|
{ role: 'system', content: systemMessage },
|
||||||
...messageHistory,
|
...messageHistory,
|
||||||
|
Loading…
Reference in New Issue
Block a user