IntelliJ 인라인 자동완성 + 채팅 + CLI 에이전트가 사내 로컬 LLM에 연결됩니다. 모든 요청은 사내 DGX-SPARK(GB10)에서 처리되어 외부로 나가지 않습니다.
irm https://dev.kopens.ai/install.ps1 | iexcurl -fsSL https://dev.kopens.ai/install.sh | bash~/.continue/config.yaml)은 설치 스크립트가 이미 생성. 코드 입력 중 회색 제안 → Tab으로 수락. 채팅은 Ctrl+L.| 도구 | 실행 | 설명 |
|---|---|---|
| Claude Code추천 | claude | Anthropic CLI를 사내 로컬 모델로 — 에어-갭에서도 동일한 개발 경험 |
| OpenCode | opencode | 터미널 AI 코딩 에이전트(TUI) |
ANTHROPIC_BASE_URL 등으로 사내 로컬 게이트웨이에 연결됩니다. api.anthropic.com·openai.com 같은 외부로 코드·데이터가 전송되지 않으며, 설치 시 텔레메트리·자동업데이트·오류리포트도 모두 차단됩니다.| 항목 | 값 |
|---|---|
| LLM API (OpenAI 호환) | https://api.kopens.ai/v1 |
| API 키 | sk-pp-master |
| 채팅 모델 | gpt-4o (고성능 채팅·에이전트) |
| 자동완성 모델 | code-completion (저지연 인라인 자동완성) |
curl https://api.kopens.ai/v1/chat/completions \
-H "Authorization: Bearer sk-pp-master" -H "Content-Type: application/json" \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"hi"}],"max_tokens":2000}'
max_tokens를 넉넉히(2000+) 주세요.| 증상 | 조치 |
|---|---|
| 명령어 not found | 새 터미널/IntelliJ 재시작. Node.js 설치 확인. |
| 연결 실패 | https://api.kopens.ai 네트워크 접근 확인. |
| 자동완성 없음 | Continue 플러그인 설치/재시작, ~/.continue/config.yaml 확인. |
| 응답 비어있음 | max_tokens 증가(2000+). |