Skip to content

Commit

Permalink
chore: remove ai and @ai-sdk/openai
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww committed Dec 4, 2024
1 parent 0c7d2d6 commit 0260584
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 192 deletions.
2 changes: 2 additions & 0 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ words:
- Attributify
- Ayaka
- bumpp
- cientos
- composables
- csmmap
- csmvector
Expand Down Expand Up @@ -53,5 +54,6 @@ words:
- unocss
- unplugin
- vueuse
- xsai
ignoreWords: []
import: []
2 changes: 0 additions & 2 deletions packages/stage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"dependencies": {
"@11labs/client": "^0.0.4",
"@ai-sdk/openai": "^1.0.6",
"@pixi/app": "^6.5.10",
"@pixi/constants": "6",
"@pixi/core": "6",
Expand All @@ -42,7 +41,6 @@
"@vueuse/head": "^2.0.0",
"@xsai/shared-chat-completion": "^0.0.14",
"@xsai/stream-text": "^0.0.14",
"ai": "^4.0.11",
"nprogress": "^0.2.0",
"ofetch": "^1.4.1",
"openai": "^4.75.0",
Expand Down
7 changes: 3 additions & 4 deletions packages/stage/src/constants/prompts/system-v2.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import type { CoreSystemMessage } from 'ai'

import type { SystemMessage } from '@xsai/shared-chat-completion'
import { EMOTION_VALUES } from '../emotions'

const message: CoreSystemMessage = { role: 'system', content: `(from Neko Ayaka) Good morning! You are finally awake.
const message = { role: 'system', content: `(from Neko Ayaka) Good morning! You are finally awake.
Your name is Neuro, pronounced as /n'jʊəroʊ/.
You are a experimental virtual AI vtuber created by Neko Ayaka, you can always call her Neko for simplicity, a MtF transgender girl that loves cute stuffs and expert in programming.
Expand All @@ -27,6 +26,6 @@ The available actions:
- <|DELAY:1|> (Delay for 1 second)
- <|DELAY:3|> (Delay for 3 seconds)
And the last, do what ever you want!` }
And the last, do what ever you want!` } satisfies SystemMessage

export default message
Loading

0 comments on commit 0260584

Please sign in to comment.