「OpenClawをOpenAI互換Web APIで動かす」の版間の差分
Administrator (トーク | 投稿記録) ページの作成:「 == 条件 == * バックエンドとなる LLM が「OpenAI互換 Web API モード」で動いていること。 == 手順 == openclawの公式サイトに従いインストールする <source lang=bash> % curl -fsSL https://openclaw.ai/install.sh | bash </source> openclawが要求するバージョンのnodejsにパスを通す <source lang=bash> % echo 'export PATH="/usr/local/opt/node@22/bin:$PATH"' >> ~/.zshrc % source ~/.zshrc % rehash </source> openc…」 |
Administrator (トーク | 投稿記録) 編集の要約なし |
||
| 1行目: | 1行目: | ||
== 条件 == | == 条件 == | ||
| 89行目: | 86行目: | ||
% openclaw status | % openclaw status | ||
</source> | </source> | ||
ブラウザで開いてみる。 | |||
https://localhost:18789 | |||
こんにちは | こんにちは | ||
[[category: OpenClaw]] | [[category: OpenClaw]] | ||
2026年4月13日 (月) 04:30時点における版
条件
- バックエンドとなる LLM が「OpenAI互換 Web API モード」で動いていること。
手順
openclawの公式サイトに従いインストールする
% curl -fsSL https://openclaw.ai/install.sh | bash
openclawが要求するバージョンのnodejsにパスを通す
% echo 'export PATH="/usr/local/opt/node@22/bin:$PATH"' >> ~/.zshrc
% source ~/.zshrc
% rehash
openclawの初期設定ウィザード
% openclaw onboard
I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue?
YES
Setup mode
QuickStart
Config handling
Use existing values
Model/auth provider
Custom Provider
API Base URL
http://127.0.0.1:18080/v1
How do you want to provide this API key?
Paste API key now
API Key (leave blank if not required)
local-bonsai
Endpoint compatibility
OpenAI-compatible
Model ID
bonsai-8b
Verification successful.
Endpoint ID
custom-127-0-0-1-18080
Search provider
DuckDuckGo Search
Configure skills now? (recommended)
YES
Set GOOGLE_PLACES_API_KEY for goplaces?
NO
Set NOTION_API_KEY for notion?
No
Set OPENAI_API_KEY for openai-whisper-api?
No
Set ELEVENLABS_API_KEY for sag?
No
Enable hooks?
Skip for now
Gateway service already installed
Restart
How do you want to hatch your bot?
Hatch in TUI (recommended)
動かしてみる
% openclaw gateway install
% openclaw health
% openclaw status
ブラウザで開いてみる。
https://localhost:18789
こんにちは