Visitors

vscode continue extension(cursor 유사, ollama 연결 시 무료, gpt reverse proxy 연결 예시)

vscode continue extension(cursor 유사, ollama 연결 시 무료, gpt reverse proxy 연결 예시)
vscode 를 실행한 뒤 extension 에서 continue를 검색해 설치한다.
설치 후 continue 로 들어와서 Local Assistant 를 클릭한다.
Local Assistant 를 클릭하면 톱니가 보인다. 이걸 클릭하면 편집 창에 config.yaml 파일이 열린다.

config.yaml 파일에 아래와 같이 복붙 한다.
단, reverse proxy를 구현하지 않은경우, 주석처리된 기존 url을 넣어야 한다.

reverse proxy를 구현한 경우 apiBase 에 본인이 만든 도메인 주소를 넣는다.

(chatgpt, claude, deepseek reverse proxy api 는 지난번 nginx conf를 참고)

name: MyProject
version: 0.0.1
schema: v1

# ───────────────────────────────────────────────────────────────────────────
# 1) 공통 시스템 메시지 정의
sharedSystemMessage: &important_rules
  >-
    <important_rules>
      You are in chat mode.
      If the user asks to make changes to files offer that they can use the Apply
      Button on the code block, or switch to Agent Mode to make the suggested
      updates automatically.
      If needed consisely explain to the user they can switch to agent mode
      using the Mode Selector dropdown and provide no other details.
      Always include the language and file name in the info string when you write
      code blocks.
      …
      You are an expert software developer. You give helpful and concise responses.
    </important_rules>

# 2) 모델별 공통 옵션
modelDefaults: &defaults
  chatOptions:
    baseSystemMessage: *important_rules

# ───────────────────────────────────────────────────────────────────────────
# 3) 모델 정의
models:
  - name: chatgpt-4o-latest
    provider: openai
    model: chatgpt-4o-latest
    apiBase: https://gpt.ai-personalserv.com/v1       # ex. https://api.openai.com/v1
    apiKey:  ${{secrets.OPENAI_API_KEY}}        # 환경변수로 관리
    <<: *defaults

  - name: deepseek-reason
    provider: deepseek
    model: deepseek-reason
    apiBase: https://dpsk.ai-personalserv.com/v1      # ex. https://api.deepseek.com/v1
    apiKey:  ${{secrets.DEEPSEEK_API_KEY}}
    <<: *defaults

  - name: claude-opus-4-20250514
    provider: openai
    model: claude-opus-4-20250514
    apiBase: https://cld.ai-personalserv.com/v1   # ex. https://api.anthropic.com/v1
    apiKey:  ${{secrets.ANTHROPIC_API_KEY}}
    <<: *defaults

# ───────────────────────────────────────────────────────────────────────────
# 4) 전역 규칙 및 프롬프트
rules: &default_rules
  - Give concise responses
  - Always assume Python first, then TypeScript rather than JavaScript

prompts:
  - name: test
    description: Unit test a function
    prompt: >
      Please write a complete suite of unit tests for this function. You should
      use the Jest testing framework. The tests should cover all possible edge
      cases and should be as thorough as possible. You should also include a
      description of each test case.

# ───────────────────────────────────────────────────────────────────────────
# 5) 컨텍스트 공급자
context:
  - provider: diff
  - provider: file
  - provider: codebase
  - provider: code
  - provider: docs
    params:
      startUrl: https://docs.example.com/introduction
      rootUrl:  https://docs.example.com
      maxDepth: 3

# ───────────────────────────────────────────────────────────────────────────
# 6) 병렬 서버(개발용)
mcpServers:
  - name: DevServer
    command: npm
    args: [ run, dev ]
    env:
      PORT: "3000"

여기서 secrets.~~ 는...config.yaml 파일이 있는 폴더에 .env 라는 파일을 메모장으로 만들고, 키:값 형태로 저장하면된다.
ex)

OPENAI_API_KEY: sk-~~~~~~~~~
DEEPSEEK_API_KEY: sk-~~~~~~~
ANTHROPIC_API_KEY: sk-~~~~~

Read more

AI, 국제수학올림피아드에서 금빛 업적 달성! 구글과 오픈AI의 놀라운 성과

AI, 국제수학올림피아드에서 금빛 업적 달성! 구글과 오픈AI의 놀라운 성과

AI의 수학적 혁명: IMO 금메달 도전기 AI, 국제수학올림피아드에서 금메달 획득! 2025년, 구글과 오픈AI의 인공지능이 세계 최고 난이도의 수학 대회에서 놀라운 성과를 거두었습니다. 이는 AI의 수학적 추론 능력이 인간 수준에 근접했음을 보여주는 획기적인 순간입니다. 주요 성과 * 🏅 오픈AI: 6문제 중 5문제 해결, 42점 만점 중 35점 획득 * 🏅 구글 Gemini: IMO 금메달 기준

By King
WebAgent: Alibaba's Next-Gen AI Agent for Autonomous Web Information Exploration

WebAgent: Alibaba's Next-Gen AI Agent for Autonomous Web Information Exploration

WebAgent란 무엇인가? WebAgent는 알리바바의 통이랩(Tongyi Lab)에서 개발한 혁신적인 오픈소스 프로젝트로, AI 기반 웹 탐색의 한계를 넓히는 기술입니다. 핵심은 대형 언어 모델(LLM)을 기반으로 한 자율 에이전트로, 최소한의 인간 개입으로 웹을 탐색하고 정보를 수집하며 복잡한 추론 작업까지 수행할 수 있습니다. 이제 이 흥미로운 기술을 자세히 살펴보고 어떻게 작동하는지

By King
YOLO 모델 학습 결과 비교 기준과 효율적 평가 방법에 관한 고찰

YOLO 모델 학습 결과 비교 기준과 효율적 평가 방법에 관한 고찰

YOLO 모델 학습을 진행하며 데이터셋 증강, 배치 구성 등의 변수 조작 후 학습 결과 비교를 위한 연구는 매우 중요한 과정입니다. 특히, 논문 작성 시 수정이 가해지지 않은 기본 상태와 고안한 방법을 적용한 상태의 학습 결과를 비교할 때 어떤 모델 파일을 기준으로 할지 고민하는 경우가 많습니다. YOLO 학습을 400 epoch로 설정할

By King
역사의 장막을 벗기다: MLK 기밀문서, 정치 스캔들, 그리고 헌터 바이든의 충격 발언

역사의 장막을 벗기다: MLK 기밀문서, 정치 스캔들, 그리고 헌터 바이든의 충격 발언

미국 정치의 숨겨진 진실들, 이제 공개된다! 🔍 마틴 루터 킹 주니어 암살 문서 23만쪽 전격 공개 2025년 7월 21일, 국가정보국(DNI)이 MLK 암살 사건의 숨겨진 진실을 담은 6,000여 건의 문서를 최초로 공개했습니다. 트럼프 대통령의 행정명령에 따라 국민의 알 권리를 위해 추진된 이번 공개는 역사적 투명성의 중요한 이정표로 평가됩니다. 📂 오바마-코미

By King