opencode.jsonc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "$schema": "https://opencode.ai/config.json",
  3. "model": "rx7900-llm//models/DeepSeek-V4-Pro-Qwen3.5-9B-MTP-Q8_0.gguf",
  4. "skills": {
  5. "paths": ["~/.config/opencode/skills-repo/skills"]
  6. },
  7. "provider": {
  8. "qwen-local": {
  9. "npm": "@ai-sdk/openai-compatible",
  10. "name": "Qwen Local (192.168.1.38)",
  11. "options": {
  12. "baseURL": "http://192.168.1.38:8284/v1"
  13. },
  14. "models": {
  15. "qwen3.8": {
  16. "name": "Qwen 3.8",
  17. "limit": {
  18. "context": 128000,
  19. "output": 8192
  20. },
  21. "cost": {
  22. "input": 2,
  23. "output": 6,
  24. "cache_read": 0.25,
  25. "cache_write": 0.25
  26. }
  27. }
  28. }
  29. },
  30. "rx7900-llm": {
  31. "npm": "@ai-sdk/openai-compatible",
  32. "name": "rx7900-llm",
  33. "options": {
  34. "baseURL": "http://192.168.1.38:8284/v1"
  35. },
  36. "models": {
  37. "/models/DeepSeek-V4-Pro-Qwen3.5-9B-MTP-Q8_0.gguf": {
  38. "name": "DeepSeek V4 Pro Qwen 3.5 9B MTP Q8_0",
  39. "limit": {
  40. "context": 131072,
  41. "output": 8192
  42. },
  43. "cost": {
  44. "input": 2,
  45. "output": 6,
  46. "cache_read": 0.25,
  47. "cache_write": 0.25
  48. }
  49. }
  50. }
  51. }
  52. },
  53. "mcp": {
  54. "postgres": {
  55. "type": "local",
  56. "command": [
  57. "npx",
  58. "-y",
  59. "@modelcontextprotocol/server-postgres",
  60. "postgres://mcp:mcp_sandbox_pw@localhost:5432/mcp"
  61. ],
  62. "enabled": true
  63. },
  64. "flymcp": {
  65. "type": "local",
  66. "command": ["/home/rx7900/.local/bin/flymcp"],
  67. "enabled": true
  68. },
  69. "repomix": {
  70. "type": "local",
  71. "command": ["npx", "-y", "repomix@latest", "--mcp"],
  72. "enabled": true
  73. }
  74. }
  75. }