opencode.jsonc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "$schema": "https://opencode.ai/config.json",
  3. "model": "rx7900-llm/my-model-id",
  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. "my-model-id": {
  38. "name": "rx7900-qwen38"
  39. }
  40. }
  41. }
  42. },
  43. "mcp": {
  44. "postgres": {
  45. "type": "local",
  46. "command": [
  47. "npx",
  48. "-y",
  49. "@modelcontextprotocol/server-postgres",
  50. "postgres://mcp:mcp_sandbox_pw@localhost:5432/mcp"
  51. ],
  52. "enabled": true
  53. },
  54. "flymcp": {
  55. "type": "local",
  56. "command": ["/home/rx7900/.local/bin/flymcp"],
  57. "enabled": true
  58. },
  59. "repomix": {
  60. "type": "local",
  61. "command": ["npx", "-y", "repomix@latest", "--mcp"],
  62. "enabled": true
  63. }
  64. }
  65. }