feat: add Inter font, extract useStoryGeneration hook, fix mobile menu

This commit is contained in:
Alexej Wolff
2026-05-06 00:11:33 +02:00
parent c9a7144960
commit c379074781
8 changed files with 476 additions and 6 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ interface DeepSeekResponse {
export async function sendMessage(
messages: DeepSeekMessage[],
temperature: number = 0.8,
max_tokens: number = 1000,
): Promise<string> {
const response = await fetch(`${API_BASE}/api/deepseek/chat`, {
method: "POST",
@@ -45,7 +46,7 @@ export async function sendMessage(
body: JSON.stringify({
messages,
temperature,
max_tokens: 1000,
max_tokens,
}),
});