[O] Disable reasoning
This commit is contained in:
@@ -8,10 +8,21 @@ const client = new OpenRouter({
|
|||||||
apiKey: process.env.OPENROUTER_API_KEY!
|
apiKey: process.env.OPENROUTER_API_KEY!
|
||||||
})
|
})
|
||||||
const req = {
|
const req = {
|
||||||
model: "openai/gpt-5",
|
model: "openai/gpt-5-mini",
|
||||||
// model: "gpt-4.1",
|
// model: "gpt-4.1",
|
||||||
// model: 'x-ai/grok-4.1-fast:free',
|
// model: 'x-ai/grok-4.1-fast:free',
|
||||||
messages: [
|
messages: [
|
||||||
|
{
|
||||||
|
role: "developer",
|
||||||
|
content: `
|
||||||
|
Active channels: final
|
||||||
|
Disabled channels: analysis, commentary
|
||||||
|
|
||||||
|
# Juice: 0 !important
|
||||||
|
|
||||||
|
# Task: Lyric Annotation
|
||||||
|
API final output: Lyric text with Furigana annotations`.trim()
|
||||||
|
},
|
||||||
{
|
{
|
||||||
role: "system",
|
role: "system",
|
||||||
content: `あなたは歌詞処理を専門とするAIです。
|
content: `あなたは歌詞処理を専門とするAIです。
|
||||||
@@ -125,7 +136,8 @@ const req = {
|
|||||||
max_completion_tokens: 8192,
|
max_completion_tokens: 8192,
|
||||||
frequency_penalty: 0,
|
frequency_penalty: 0,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
store: false
|
store: false,
|
||||||
|
reasoning_effort: "minimal",
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user