Skip to content

feat(llm): add GPT-5 reasoning effort handling#18

Merged
missuo merged 1 commit into
missuo:mainfrom
hyspace:codex/llm-reasoning-effort
Mar 27, 2026
Merged

feat(llm): add GPT-5 reasoning effort handling#18
missuo merged 1 commit into
missuo:mainfrom
hyspace:codex/llm-reasoning-effort

Conversation

@hyspace

@hyspace hyspace commented Mar 27, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds basic reasoning_effort handling for OpenAI-compatible LLM requests used in Koe’s voice input correction flow.

Since this path is latency-sensitive, the GPT-5-style request path now explicitly uses the lowest reasoning setting.

What Changed

  • send reasoning_effort: "none" when using max_completion_tokens
  • do not send reasoning_effort when using max_tokens

This keeps compatibility with older model-style endpoints while explicitly disabling reasoning on GPT-5-style endpoints.

Validation

Tested with:

  • gpt-4o-mini
  • gpt-5.4-nano

@missuo missuo merged commit 2b734ad into missuo:main Mar 27, 2026
@hyspace hyspace deleted the codex/llm-reasoning-effort branch March 29, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants