강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

조현우님의 프로필 이미지
조현우

작성한 질문수

클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지

🔥[MISSION 4] 클로드 코드로 프로젝트 UI 개선하기🔥

설치 후 /init 혹은 아무질문을 해도 model 이 선택되지 않았다고 나옵니다.

작성

·

15

0

설치 후 /init 을 하고 싶어도 치면

 

There's an issue with the selected model (claude-haiku-4-5-20251001). It may not exist or you may not have access to it. Run /model to pick a different model.

이렇게 나옵니다.

그래서 /model 로 들어가서 설정하고 나와도 계속 동일하고 /status 로 확인하면

 

Session ID: 927e74e0-a560-4124-893b-d65a898a3c23

cwd: /Users/happycho/Desktop/myproject/LLM/claude-code-example

Login method: Claude Pro Account

Organization: windlikephoto@gmail.com's Organization

Email: windlikephoto@gmail.com

Anthropic base URL: http://localhost:11434

Model: haiku (claude-haiku-4-5-20251001)

IDE: ✘ Error installing Cursor extension: 1: Command failed with ERR_STREAM_PREMATURE_CLOSE: cursor --force --install-extension anthropic.claude-code

Premature close

Please restart your IDE and try again.

Memory:

Setting sources: User settings

이런식으로 나오고 있습니다.

익스텐션도 설치를 다 했는데 왜이러는지 모르겠습니다ㅠㅠ...

답변 1

0

짐코딩님의 프로필 이미지
짐코딩
지식공유자

안녕하세요! 🙂

혹시 이전에 Ollama 같은 로컬 LLM 서버를 사용하신 적이 있으신가요?

/status에서 Anthropic base URL: http://localhost:11434로 표시되고 있는데, localhost:11434는 Ollama의 기본 포트거든요. 현재 Claude Code가 Anthropic API가 아닌 로컬 Ollama 서버로 요청을 보내고 있어서, claude-haiku-4-5-20251001 모델을 찾을 수 없다는 오류가 발생하는 겁니다.

해결 방법은 ANTHROPIC_BASE_URL 환경변수를 제거하셔야 할 거 같아요~!

감사합니다 🙏

조현우님의 프로필 이미지
조현우

작성한 질문수

질문하기