Skip to content

Commit 4d45ff0

Browse files
committed
refactor: codebase beautify and general fixes
1 parent 999ac7d commit 4d45ff0

29 files changed

Lines changed: 722 additions & 514 deletions

apps/backend-convex/utils/agent.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ export function getAgentModel({ provider, model, apiKey }: AgentObject): Languag
1414
if (model === 'deepseek-v3')
1515
model = 'deepseek/deepseek-chat-v3-0324:free'
1616

17+
if (model === 'devstral-small-2505')
18+
model = 'mistralai/devstral-small:free'
19+
20+
if (model === 'llama-4-scout')
21+
model = 'meta-llama/llama-4-scout:free'
22+
1723
return openrouter(model)
1824
}
1925
else {

apps/backend/src/dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { localcertKeyPath, localcertPath } from '@local/common/dev/cert'
2-
import { getConvexEnvs } from 'backend-convex/_util'
2+
import { getConvexEnvs } from 'backend-convex/dev'
33
import { serve } from 'srvx'
44
import { env } from 'std-env'
55
import { app } from './app'

apps/frontend/app/components/ConvexIntegrationTest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ async function testConvexViaBackendTasksCTA() {
5050
<div class="max-w-md w-full flex flex-col gap-5">
5151
<VanishingInput
5252
v-model="taskInputRef"
53-
:placeholders="useInputThoughtsPlaceholders().value"
53+
:placeholders="getThoughtPlaceholders()"
5454
@submit="addTask()"
5555
/>
5656
</div>

0 commit comments

Comments
 (0)