Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
5c856ec3ed | |||
052f37294d | |||
93bb375059 |
15
changelog.md
15
changelog.md
@@ -1,5 +1,20 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-08-12 - 0.5.11 - fix(openaiProvider)
|
||||||
|
Update default chat model to gpt-5-mini and bump dependency versions
|
||||||
|
|
||||||
|
- Changed default chat model in OpenAiProvider from 'o3-mini' and 'o4-mini' to 'gpt-5-mini'
|
||||||
|
- Upgraded @anthropic-ai/sdk from ^0.57.0 to ^0.59.0
|
||||||
|
- Upgraded openai from ^5.11.0 to ^5.12.2
|
||||||
|
- Added new local Claude settings configuration (.claude/settings.local.json)
|
||||||
|
|
||||||
|
## 2025-08-03 - 0.5.10 - fix(dependencies)
|
||||||
|
Update SmartPdf to v4.1.1 for enhanced PDF processing capabilities
|
||||||
|
|
||||||
|
- Updated @push.rocks/smartpdf from ^3.3.0 to ^4.1.1
|
||||||
|
- Enhanced PDF conversion with improved scale options and quality controls
|
||||||
|
- Dependency updates for better performance and compatibility
|
||||||
|
|
||||||
## 2025-08-01 - 0.5.9 - fix(documentation)
|
## 2025-08-01 - 0.5.9 - fix(documentation)
|
||||||
Remove contribution section from readme
|
Remove contribution section from readme
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartai",
|
"name": "@push.rocks/smartai",
|
||||||
"version": "0.5.9",
|
"version": "0.5.11",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "SmartAi is a versatile TypeScript library designed to facilitate integration and interaction with various AI models, offering functionalities for chat, audio generation, document processing, and vision tasks.",
|
"description": "SmartAi is a versatile TypeScript library designed to facilitate integration and interaction with various AI models, offering functionalities for chat, audio generation, document processing, and vision tasks.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
@@ -23,15 +23,15 @@
|
|||||||
"@types/node": "^22.15.17"
|
"@types/node": "^22.15.17"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@anthropic-ai/sdk": "^0.57.0",
|
"@anthropic-ai/sdk": "^0.59.0",
|
||||||
"@push.rocks/smartarray": "^1.1.0",
|
"@push.rocks/smartarray": "^1.1.0",
|
||||||
"@push.rocks/smartfile": "^11.2.5",
|
"@push.rocks/smartfile": "^11.2.5",
|
||||||
"@push.rocks/smartpath": "^6.0.0",
|
"@push.rocks/smartpath": "^6.0.0",
|
||||||
"@push.rocks/smartpdf": "^3.3.0",
|
"@push.rocks/smartpdf": "^4.1.1",
|
||||||
"@push.rocks/smartpromise": "^4.2.3",
|
"@push.rocks/smartpromise": "^4.2.3",
|
||||||
"@push.rocks/smartrequest": "^4.2.1",
|
"@push.rocks/smartrequest": "^4.2.1",
|
||||||
"@push.rocks/webstream": "^1.0.10",
|
"@push.rocks/webstream": "^1.0.10",
|
||||||
"openai": "^5.11.0"
|
"openai": "^5.12.2"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
863
pnpm-lock.yaml
generated
863
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartai',
|
name: '@push.rocks/smartai',
|
||||||
version: '0.5.4',
|
version: '0.5.11',
|
||||||
description: 'SmartAi is a versatile TypeScript library designed to facilitate integration and interaction with various AI models, offering functionalities for chat, audio generation, document processing, and vision tasks.'
|
description: 'SmartAi is a versatile TypeScript library designed to facilitate integration and interaction with various AI models, offering functionalities for chat, audio generation, document processing, and vision tasks.'
|
||||||
}
|
}
|
||||||
|
@@ -77,7 +77,7 @@ export class OpenAiProvider extends MultiModalModel {
|
|||||||
// If we have a complete message, send it to OpenAI
|
// If we have a complete message, send it to OpenAI
|
||||||
if (currentMessage) {
|
if (currentMessage) {
|
||||||
const messageToSend = { role: "user" as const, content: currentMessage.content };
|
const messageToSend = { role: "user" as const, content: currentMessage.content };
|
||||||
const chatModel = this.options.chatModel ?? 'o3-mini';
|
const chatModel = this.options.chatModel ?? 'gpt-5-mini';
|
||||||
const requestParams: any = {
|
const requestParams: any = {
|
||||||
model: chatModel,
|
model: chatModel,
|
||||||
messages: [messageToSend],
|
messages: [messageToSend],
|
||||||
@@ -123,7 +123,7 @@ export class OpenAiProvider extends MultiModalModel {
|
|||||||
content: string;
|
content: string;
|
||||||
}[];
|
}[];
|
||||||
}) {
|
}) {
|
||||||
const chatModel = this.options.chatModel ?? 'o3-mini';
|
const chatModel = this.options.chatModel ?? 'gpt-5-mini';
|
||||||
const requestParams: any = {
|
const requestParams: any = {
|
||||||
model: chatModel,
|
model: chatModel,
|
||||||
messages: [
|
messages: [
|
||||||
@@ -184,7 +184,7 @@ export class OpenAiProvider extends MultiModalModel {
|
|||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
const chatModel = this.options.chatModel ?? 'o4-mini';
|
const chatModel = this.options.chatModel ?? 'gpt-5-mini';
|
||||||
const requestParams: any = {
|
const requestParams: any = {
|
||||||
model: chatModel,
|
model: chatModel,
|
||||||
messages: [
|
messages: [
|
||||||
|
Reference in New Issue
Block a user