CLI
터미널에서 워크스페이스와 대화하기 위한 작은 명령줄 클라이언트입니다. 스트리밍 응답, 인터랙티브 세션, 그리고 stdin 파이핑을 지원합니다. OpenAI 호환 엔드포인트와 통신하므로 워크스페이스 API 키만 있으면 됩니다.
설치
CLI는 nexevo-ai 저장소에 포함되어 있습니다. 체크아웃한 상태에서 모듈로 실행하세요:
bash
python -m cli --help
# optional: a shorter alias for the examples below
alias nexevo='python -m cli'구성
워크스페이스 API 키를 한 번 저장하세요(~/.nexevo/config.json에 기록되며, 소유자만 읽을 수 있음):
bash
nexevo config set api_key sk-ws-...
nexevo config show # api_key is masked환경 변수가 저장된 구성보다 우선합니다: NEXEVO_API_KEY, NEXEVO_BASE_URL(기본값 https://nexevo.ai/v1), NEXEVO_MODEL.
Chat
bash
# one-shot
nexevo chat "Summarize our Q2 results."
# interactive session (keeps the conversation; empty line or Ctrl-D to exit)
nexevo chat
# pipe stdin
git diff | nexevo chat "Review this change."
# pin a specific model (default is nexevo-auto → the router picks)
nexevo chat --model nexevo-auto "Draft a release note."응답은 토큰 단위로 스트리밍됩니다. 라우팅, 결제, BYOK은 다른 모든 Nexevo 호출과 동일하며, CLI는 OpenAI 호환 API 위의 얇은 클라이언트입니다.