DEV/nlp

Openmanus + Ollama 내장 모델 사용하기.

석봉 2025. 3. 26. 15:04

OpenManus Setting

📌 Conda Setting

# Install
conda create -n open_manus python=3.12

# Conda Activate
conda activate open_manus

📌 Clone OpenManus (git)

# Clone the repository & open OpenManus Folder
git clone https://github.com/mannaandpoem/OpenManus.git
cd OpenManus

# install dependencies
pip install -r requirements.txt

📌 Clone OpenManus

  • Configuration을 위해 config.example.toml을 복사 (직접 파일 만들어서 작성해도 됨)
cp config/config.example.toml config/config.toml
  • config.example.toml 수정
[llm] #OLLAMA:
api_type = 'ollama'
model = "qwen2.5:14b"
base_url = "http://localhost:11434/v1"
api_key = "ollama"
max_tokens = 4096
temperature = 0.0