fix chat ux and ai model

This commit is contained in:
2026-04-16 00:11:08 -06:00
parent 102edbdb19
commit 3c4ec5b11e
4 changed files with 61 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ public class OpenRouterAiService {
@Value("${openrouter.api-key:}")
private String apiKey;
@Value("${openrouter.model:openai/gpt-oss-120b:free}")
@Value("${openrouter.model:google/gemma-4-31b-it:free}")
private String model;
private final String openRouterUrl = "https://openrouter.ai/api/v1/chat/completions";

View File

@@ -24,7 +24,7 @@ public class OpenRouterService {
@Value("${openrouter.api-key:}")
private String apiKey;
@Value("${openrouter.model:meta-llama/llama-3.3-70b-instruct:free}")
@Value("${openrouter.model:google/gemma-4-31b-it:free}")
private String model;
private final ObjectMapper objectMapper = new ObjectMapper();