This commit is contained in:
josc146 2023-11-21 00:20:54 +08:00
parent 8781416cfb
commit 1334f0e5ba
2 changed files with 2 additions and 1 deletions

View File

@ -134,6 +134,7 @@ jobs:
- run: |
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
cd ai00_rwkv_server
rustup target add aarch64-apple-darwin
cargo build --release --target aarch64-apple-darwin
mv ./target/aarch64-apple-darwin/release/ai00_server ../backend-rust/webgpu_server
cd ..

View File

@ -109,7 +109,7 @@ export const AdvancedGeneralSettings: FC = observer(() => {
commonStore.setSettings({
apiChatModelName: 'rwkv'
});
if (commonStore.settings.apiCompletionModelName === 'gpt-3.5-turbo-instruct')
if (commonStore.settings.apiCompletionModelName === 'gpt-3.5-turbo-instruct' || commonStore.settings.apiCompletionModelName === 'text-davinci-003')
commonStore.setSettings({
apiCompletionModelName: 'rwkv'
});