chore
This commit is contained in:
parent
8781416cfb
commit
1334f0e5ba
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -134,6 +134,7 @@ jobs:
|
|||||||
- run: |
|
- run: |
|
||||||
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
|
git clone https://github.com/josStorer/ai00_rwkv_server --depth=1
|
||||||
cd ai00_rwkv_server
|
cd ai00_rwkv_server
|
||||||
|
rustup target add aarch64-apple-darwin
|
||||||
cargo build --release --target aarch64-apple-darwin
|
cargo build --release --target aarch64-apple-darwin
|
||||||
mv ./target/aarch64-apple-darwin/release/ai00_server ../backend-rust/webgpu_server
|
mv ./target/aarch64-apple-darwin/release/ai00_server ../backend-rust/webgpu_server
|
||||||
cd ..
|
cd ..
|
||||||
|
@ -109,7 +109,7 @@ export const AdvancedGeneralSettings: FC = observer(() => {
|
|||||||
commonStore.setSettings({
|
commonStore.setSettings({
|
||||||
apiChatModelName: 'rwkv'
|
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({
|
commonStore.setSettings({
|
||||||
apiCompletionModelName: 'rwkv'
|
apiCompletionModelName: 'rwkv'
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user