yerden

opencode.json

Aug 30th, 2026
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.71 KB | None | 0 0
  1. {
  2.   "$schema": "https://opencode.ai/config.json",
  3.  
  4.   "permission": {
  5.     "edit": "ask",
  6.     "bash": {
  7.       "*": "ask",
  8.       "ls *": "allow",
  9.       "cat *": "allow",
  10.       "grep *": "allow",
  11.       "find *": "allow",
  12.       "git log *": "allow",
  13.       "git status *": "allow",
  14.       "git status": "allow",
  15.       "git diff *": "allow",
  16.       "git push *": "ask",
  17.       "rm*": "ask",
  18.       "sudo*": "deny"
  19.     },
  20.     "webfetch": "ask"
  21.   },
  22.  
  23.   "compaction": {
  24.     "auto": true,
  25.     "prune": true,
  26.     "reserved": 12000
  27.   },
  28.  
  29.   "enabled_providers": ["local"],
  30.  
  31.   "provider": {
  32.     "local": {
  33.       "npm": "@ai-sdk/openai-compatible",
  34.       "name": "vLLM local",
  35.       "options": {
  36.         "baseURL": "http://10.90.90.121:8000/v1",
  37.         "apiKey": "dummy-key",
  38.         "timeout": 1800000,
  39.         "chunkTimeout": 1800000
  40.       },
  41.       "models": {
  42.         "glm-5.3": {
  43.           "name": "zai-org/GLM-5.3",
  44.           "reasoning": true,
  45.           "tool_call": true,
  46.           "temperature": true,
  47.           "limit": {
  48.             "context": 262144,
  49.             "output": 16384
  50.           }
  51.         },
  52.         "moonshotai/Kimi-K2.7-Code": {
  53.           "name": "moonshotai/Kimi-K2.7-Code",
  54.           "reasoning": true,
  55.           "tool_call": true,
  56.           "temperature": true,
  57.           "limit": {
  58.             "context": 262144,
  59.             "output": 16384
  60.           }
  61.         }
  62.       }
  63.     }
  64.   },
  65.  
  66.   "model": "local/glm-5.3",
  67.   "small_model": "local/glm-5.3",
  68.  
  69.   "agent": {
  70.     "build": {
  71.       "model": "local/glm-5.3",
  72.       "temperature": 0.95,
  73.       "top_p": 0.95
  74.     },
  75.     "plan": {
  76.       "model": "local/glm-5.3",
  77.       "temperature": 0.95,
  78.       "top_p": 0.95
  79.     }
  80.   }
  81. }
  82.  
Advertisement
Add Comment
Please, Sign In to add comment