File tree Expand file tree Collapse file tree
frontend/src/components/account Expand file tree Collapse file tree Original file line number Diff line number Diff line change 13151315 <input
13161316 v-model =" apiKeyBaseUrl"
13171317 type =" text"
1318- class =" input"
1318+ class =" input disabled:cursor-not-allowed disabled:opacity-60"
1319+ :disabled =" form.platform === 'devin'"
13191320 :placeholder ="
13201321 form.platform === 'openai'
13211322 ? 'https://api.openai.com'
Original file line number Diff line number Diff line change 158158 <input
159159 v-model =" editBaseUrl"
160160 type =" text"
161- class =" input"
161+ class =" input disabled:cursor-not-allowed disabled:opacity-60"
162+ :disabled =" account.platform === 'devin'"
162163 :placeholder ="
163164 account.platform === 'openai'
164165 ? 'https://api.openai.com'
@@ -3614,7 +3615,9 @@ const syncFormFromAccount = (newAccount: Account | null) => {
36143615 ? ' https://api.x.ai/v1'
36153616 : newAccount .platform === ' opencode'
36163617 ? ' '
3617- : ' https://api.anthropic.com'
3618+ : newAccount .platform === ' devin'
3619+ ? ' https://server.codeium.com'
3620+ : ' https://api.anthropic.com'
36183621 editOpencodeAccountMode .value = credentials .account_mode === ' zen' ? ' zen' : ' go'
36193622 editBaseUrl .value = (credentials .base_url as string ) || platformDefaultUrl
36203623 if (isCNPlatform (newAccount .platform )) {
You can’t perform that action at this time.
0 commit comments