onlyrickroll commited on
Commit
c25e656
·
verified ·
1 Parent(s): e711085

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +12 -7
entrypoint.sh CHANGED
@@ -7,14 +7,19 @@ echo $PATH
7
  # 直接写入配置(对接你本地的 PowerServe 或 Ollama API)
8
  cat <<EOF > ~/.nanobot/config.json
9
  {
10
- "openai": {
11
- "api_key": "local-no-key",
12
- "api_base": "http://localhost:8080/v1"
13
- },
14
- "model": "openai/qwen3-4b",
15
 
16
- host: "127.0.0.1" ,
17
- port: 8080
 
 
 
 
 
 
 
 
 
 
18
 
19
 
20
  //"systemPrompt": "You are a helpful local AI assistant ."
 
7
  # 直接写入配置(对接你本地的 PowerServe 或 Ollama API)
8
  cat <<EOF > ~/.nanobot/config.json
9
  {
 
 
 
 
 
10
 
11
+ "providers": {
12
+ "vllm": {
13
+ "apiKey": "dummy",
14
+ "apiBase": "http://localhost:8080/v1"
15
+ }
16
+ },
17
+ "agents": {
18
+ "defaults": {
19
+ "model": "llamacpp/qwen3-4b"
20
+ }
21
+ }
22
+
23
 
24
 
25
  //"systemPrompt": "You are a helpful local AI assistant ."