diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2e596c3..5d7d7e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 .. diff --git a/frontend/src/pages/Settings.tsx b/frontend/src/pages/Settings.tsx index db3c982..ed711b4 100644 --- a/frontend/src/pages/Settings.tsx +++ b/frontend/src/pages/Settings.tsx @@ -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' });