Repository navigation
Fix: Ollama 추론 모델에서 응답이 비어 아무것도 표시되지 않음 - #443
Merged
Merged
Conversation
Ollama에서 Gemma 4처럼 답하기 전에 추론을 하는 모델을 쓰면, 추론이 응답 길이 한도를 다 써서 본문이 빈 채로 오고 Ari는 아무 표시 없이 끝났습니다. - Ollama 요청에 추론 끄기 값(reasoning_effort: none)을 보냄 - 이 값을 거절하는 옛 Ollama에서는 값을 빼고 한 번 다시 요청 - 응답이 비었을 때 안내 문구를 보여 줌(취소, 도구 실행, 이미 출력된 경우 제외) - 사용 가이드와 문서 색인에 반영 Issues #442
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 11 |
| Duplication | 2 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This was referenced Nov 12, 2026
Closed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
VoiceCommand/agent/llm_provider.py: 내장 Ollama 제공자의 요청에reasoning_effort: none을 보냅니다. 요청을_create_chat_completion한 곳으로 모았고, 이 값을 거절하는 옛 Ollama(400)에서는 값을 빼고 한 번 다시 요청합니다.VoiceCommand/commands/ai_command.py: 최종 응답이 비었고 취소·도구 실행·스트림 출력이 없었으면 안내 문구를 한 번 보여 줍니다.VoiceCommand/i18n/locales/{ko,en,ja}/LC_MESSAGES/ari.po,docs/USAGE.md,docs/README.md에 반영했습니다.알아 둘 점
reasoning_effort: none은 Ollama 0.12.4 이상에서 동작합니다.gemma4:12b로는 확인하지 못했습니다. 테스트는 가짜 클라이언트 기준입니다.Test plan
QT_QPA_PLATFORM=offscreen python validate_repo.py통과 (테스트 1646건, 건너뜀 1건)tests.test_request_failures:test_ollama_requests_disable_reasoning,test_ollama_retries_without_reasoning_after_bad_request,test_create_chat_completion_retries_only_ollama_reasoning_rejectiontests.test_ai_command:test_empty_response_notice_is_suppressed_after_cancel_tool_or_streamgit diff --check통과Closes #442