Add AI chat #168
@@ -31,7 +31,7 @@ public class OpenRouterAiService {
|
||||
@Value("${openrouter.api-key:}")
|
||||
private String apiKey;
|
||||
|
||||
@Value("${openrouter.model:mistralai/mistral-7b-instruct:free}")
|
||||
@Value("${openrouter.model:openai/gpt-oss-120b:free}")
|
||||
private String model;
|
||||
|
||||
private final String openRouterUrl = "https://openrouter.ai/api/v1/chat/completions";
|
||||
|
||||
@@ -73,4 +73,4 @@ logging:
|
||||
fail-on-unknown-properties: false
|
||||
openrouter:
|
||||
api-key: ${OPENROUTER_API_KEY:}
|
||||
model: ${OPENROUTER_MODEL:mistralai/mistral-7b-instruct:free}
|
||||
model: ${OPENROUTER_MODEL:openai/gpt-oss-120b:free}
|
||||
|
||||
Reference in New Issue
Block a user