@neurocode-ai/web 1.18.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (702) hide show
  1. package/README.md +54 -0
  2. package/astro.config.mjs +324 -0
  3. package/config.mjs +14 -0
  4. package/package.json +44 -0
  5. package/public/apple-touch-icon-v3.png +1 -0
  6. package/public/apple-touch-icon.png +1 -0
  7. package/public/favicon-96x96-v3.png +1 -0
  8. package/public/favicon-96x96.png +1 -0
  9. package/public/favicon-v3.ico +1 -0
  10. package/public/favicon-v3.svg +1 -0
  11. package/public/favicon.ico +1 -0
  12. package/public/favicon.svg +1 -0
  13. package/public/robots.txt +6 -0
  14. package/public/site.webmanifest +1 -0
  15. package/public/social-share-zen.png +1 -0
  16. package/public/social-share.png +1 -0
  17. package/public/theme.json +183 -0
  18. package/public/web-app-manifest-192x192.png +1 -0
  19. package/public/web-app-manifest-512x512.png +1 -0
  20. package/src/assets/lander/check.svg +2 -0
  21. package/src/assets/lander/copy.svg +2 -0
  22. package/src/assets/lander/screenshot-github.png +0 -0
  23. package/src/assets/lander/screenshot-splash.png +0 -0
  24. package/src/assets/lander/screenshot-vscode.png +0 -0
  25. package/src/assets/lander/screenshot.png +0 -0
  26. package/src/assets/logo-dark.svg +18 -0
  27. package/src/assets/logo-light.svg +18 -0
  28. package/src/assets/logo-ornate-dark.svg +18 -0
  29. package/src/assets/logo-ornate-light.svg +18 -0
  30. package/src/assets/web/web-homepage-active-session.png +0 -0
  31. package/src/assets/web/web-homepage-new-session.png +0 -0
  32. package/src/assets/web/web-homepage-see-servers.png +0 -0
  33. package/src/components/Footer.astro +125 -0
  34. package/src/components/Head.astro +54 -0
  35. package/src/components/Header.astro +136 -0
  36. package/src/components/Hero.astro +11 -0
  37. package/src/components/Lander.astro +721 -0
  38. package/src/components/LanguageSelect.astro +29 -0
  39. package/src/components/Share.tsx +644 -0
  40. package/src/components/SiteTitle.astro +59 -0
  41. package/src/components/icons/custom.tsx +87 -0
  42. package/src/components/icons/index.tsx +4454 -0
  43. package/src/components/share/common.tsx +128 -0
  44. package/src/components/share/content-bash.module.css +85 -0
  45. package/src/components/share/content-bash.tsx +67 -0
  46. package/src/components/share/content-code.module.css +26 -0
  47. package/src/components/share/content-code.tsx +30 -0
  48. package/src/components/share/content-diff.module.css +153 -0
  49. package/src/components/share/content-diff.tsx +240 -0
  50. package/src/components/share/content-error.module.css +64 -0
  51. package/src/components/share/content-error.tsx +25 -0
  52. package/src/components/share/content-markdown.module.css +154 -0
  53. package/src/components/share/content-markdown.tsx +74 -0
  54. package/src/components/share/content-text.module.css +63 -0
  55. package/src/components/share/content-text.tsx +38 -0
  56. package/src/components/share/copy-button.module.css +30 -0
  57. package/src/components/share/copy-button.tsx +36 -0
  58. package/src/components/share/part.module.css +428 -0
  59. package/src/components/share/part.tsx +816 -0
  60. package/src/components/share.module.css +832 -0
  61. package/src/content/docs/acp.mdx +156 -0
  62. package/src/content/docs/agents.mdx +781 -0
  63. package/src/content/docs/ar/acp.mdx +156 -0
  64. package/src/content/docs/ar/agents.mdx +754 -0
  65. package/src/content/docs/ar/cli.mdx +616 -0
  66. package/src/content/docs/ar/commands.mdx +322 -0
  67. package/src/content/docs/ar/config.mdx +685 -0
  68. package/src/content/docs/ar/custom-tools.mdx +196 -0
  69. package/src/content/docs/ar/ecosystem.mdx +78 -0
  70. package/src/content/docs/ar/enterprise.mdx +165 -0
  71. package/src/content/docs/ar/formatters.mdx +131 -0
  72. package/src/content/docs/ar/github.mdx +321 -0
  73. package/src/content/docs/ar/gitlab.mdx +195 -0
  74. package/src/content/docs/ar/go.mdx +224 -0
  75. package/src/content/docs/ar/ide.mdx +48 -0
  76. package/src/content/docs/ar/index.mdx +344 -0
  77. package/src/content/docs/ar/keybinds.mdx +194 -0
  78. package/src/content/docs/ar/lsp.mdx +207 -0
  79. package/src/content/docs/ar/mcp-servers.mdx +511 -0
  80. package/src/content/docs/ar/models.mdx +222 -0
  81. package/src/content/docs/ar/network.mdx +57 -0
  82. package/src/content/docs/ar/permissions.mdx +235 -0
  83. package/src/content/docs/ar/plugins.mdx +385 -0
  84. package/src/content/docs/ar/providers.mdx +1983 -0
  85. package/src/content/docs/ar/rules.mdx +180 -0
  86. package/src/content/docs/ar/sdk.mdx +463 -0
  87. package/src/content/docs/ar/server.mdx +287 -0
  88. package/src/content/docs/ar/share.mdx +127 -0
  89. package/src/content/docs/ar/skills.mdx +222 -0
  90. package/src/content/docs/ar/themes.mdx +369 -0
  91. package/src/content/docs/ar/tools.mdx +341 -0
  92. package/src/content/docs/ar/troubleshooting.mdx +299 -0
  93. package/src/content/docs/ar/tui.mdx +426 -0
  94. package/src/content/docs/ar/web.mdx +142 -0
  95. package/src/content/docs/ar/windows-wsl.mdx +113 -0
  96. package/src/content/docs/ar/zen.mdx +332 -0
  97. package/src/content/docs/bs/acp.mdx +156 -0
  98. package/src/content/docs/bs/agents.mdx +754 -0
  99. package/src/content/docs/bs/cli.mdx +614 -0
  100. package/src/content/docs/bs/commands.mdx +316 -0
  101. package/src/content/docs/bs/config.mdx +685 -0
  102. package/src/content/docs/bs/custom-tools.mdx +195 -0
  103. package/src/content/docs/bs/ecosystem.mdx +78 -0
  104. package/src/content/docs/bs/enterprise.mdx +165 -0
  105. package/src/content/docs/bs/formatters.mdx +124 -0
  106. package/src/content/docs/bs/github.mdx +311 -0
  107. package/src/content/docs/bs/gitlab.mdx +188 -0
  108. package/src/content/docs/bs/go.mdx +238 -0
  109. package/src/content/docs/bs/ide.mdx +47 -0
  110. package/src/content/docs/bs/index.mdx +323 -0
  111. package/src/content/docs/bs/keybinds.mdx +194 -0
  112. package/src/content/docs/bs/lsp.mdx +204 -0
  113. package/src/content/docs/bs/mcp-servers.mdx +482 -0
  114. package/src/content/docs/bs/models.mdx +201 -0
  115. package/src/content/docs/bs/network.mdx +51 -0
  116. package/src/content/docs/bs/permissions.mdx +228 -0
  117. package/src/content/docs/bs/plugins.mdx +371 -0
  118. package/src/content/docs/bs/providers.mdx +1993 -0
  119. package/src/content/docs/bs/rules.mdx +180 -0
  120. package/src/content/docs/bs/sdk.mdx +463 -0
  121. package/src/content/docs/bs/server.mdx +284 -0
  122. package/src/content/docs/bs/share.mdx +127 -0
  123. package/src/content/docs/bs/skills.mdx +222 -0
  124. package/src/content/docs/bs/themes.mdx +369 -0
  125. package/src/content/docs/bs/tools.mdx +341 -0
  126. package/src/content/docs/bs/troubleshooting.mdx +300 -0
  127. package/src/content/docs/bs/tui.mdx +432 -0
  128. package/src/content/docs/bs/web.mdx +142 -0
  129. package/src/content/docs/bs/windows-wsl.mdx +113 -0
  130. package/src/content/docs/bs/zen.mdx +350 -0
  131. package/src/content/docs/cli.mdx +733 -0
  132. package/src/content/docs/commands.mdx +323 -0
  133. package/src/content/docs/config.mdx +941 -0
  134. package/src/content/docs/custom-tools.mdx +196 -0
  135. package/src/content/docs/da/acp.mdx +156 -0
  136. package/src/content/docs/da/agents.mdx +755 -0
  137. package/src/content/docs/da/cli.mdx +617 -0
  138. package/src/content/docs/da/commands.mdx +323 -0
  139. package/src/content/docs/da/config.mdx +688 -0
  140. package/src/content/docs/da/custom-tools.mdx +196 -0
  141. package/src/content/docs/da/ecosystem.mdx +78 -0
  142. package/src/content/docs/da/enterprise.mdx +170 -0
  143. package/src/content/docs/da/formatters.mdx +131 -0
  144. package/src/content/docs/da/github.mdx +321 -0
  145. package/src/content/docs/da/gitlab.mdx +195 -0
  146. package/src/content/docs/da/go.mdx +238 -0
  147. package/src/content/docs/da/ide.mdx +48 -0
  148. package/src/content/docs/da/index.mdx +360 -0
  149. package/src/content/docs/da/keybinds.mdx +194 -0
  150. package/src/content/docs/da/lsp.mdx +208 -0
  151. package/src/content/docs/da/mcp-servers.mdx +511 -0
  152. package/src/content/docs/da/models.mdx +223 -0
  153. package/src/content/docs/da/network.mdx +57 -0
  154. package/src/content/docs/da/permissions.mdx +235 -0
  155. package/src/content/docs/da/plugins.mdx +389 -0
  156. package/src/content/docs/da/providers.mdx +1981 -0
  157. package/src/content/docs/da/rules.mdx +180 -0
  158. package/src/content/docs/da/sdk.mdx +463 -0
  159. package/src/content/docs/da/server.mdx +287 -0
  160. package/src/content/docs/da/share.mdx +128 -0
  161. package/src/content/docs/da/skills.mdx +222 -0
  162. package/src/content/docs/da/themes.mdx +369 -0
  163. package/src/content/docs/da/tools.mdx +341 -0
  164. package/src/content/docs/da/troubleshooting.mdx +300 -0
  165. package/src/content/docs/da/tui.mdx +426 -0
  166. package/src/content/docs/da/web.mdx +142 -0
  167. package/src/content/docs/da/windows-wsl.mdx +113 -0
  168. package/src/content/docs/da/zen.mdx +345 -0
  169. package/src/content/docs/de/acp.mdx +156 -0
  170. package/src/content/docs/de/agents.mdx +741 -0
  171. package/src/content/docs/de/cli.mdx +616 -0
  172. package/src/content/docs/de/commands.mdx +323 -0
  173. package/src/content/docs/de/config.mdx +684 -0
  174. package/src/content/docs/de/custom-tools.mdx +170 -0
  175. package/src/content/docs/de/ecosystem.mdx +78 -0
  176. package/src/content/docs/de/enterprise.mdx +170 -0
  177. package/src/content/docs/de/formatters.mdx +131 -0
  178. package/src/content/docs/de/github.mdx +321 -0
  179. package/src/content/docs/de/gitlab.mdx +195 -0
  180. package/src/content/docs/de/go.mdx +226 -0
  181. package/src/content/docs/de/ide.mdx +48 -0
  182. package/src/content/docs/de/index.mdx +356 -0
  183. package/src/content/docs/de/keybinds.mdx +194 -0
  184. package/src/content/docs/de/lsp.mdx +207 -0
  185. package/src/content/docs/de/mcp-servers.mdx +511 -0
  186. package/src/content/docs/de/models.mdx +223 -0
  187. package/src/content/docs/de/network.mdx +57 -0
  188. package/src/content/docs/de/permissions.mdx +235 -0
  189. package/src/content/docs/de/plugins.mdx +384 -0
  190. package/src/content/docs/de/providers.mdx +1987 -0
  191. package/src/content/docs/de/rules.mdx +190 -0
  192. package/src/content/docs/de/sdk.mdx +465 -0
  193. package/src/content/docs/de/server.mdx +291 -0
  194. package/src/content/docs/de/share.mdx +130 -0
  195. package/src/content/docs/de/skills.mdx +222 -0
  196. package/src/content/docs/de/themes.mdx +372 -0
  197. package/src/content/docs/de/tools.mdx +352 -0
  198. package/src/content/docs/de/troubleshooting.mdx +300 -0
  199. package/src/content/docs/de/tui.mdx +429 -0
  200. package/src/content/docs/de/web.mdx +142 -0
  201. package/src/content/docs/de/windows-wsl.mdx +115 -0
  202. package/src/content/docs/de/zen.mdx +327 -0
  203. package/src/content/docs/ecosystem.mdx +83 -0
  204. package/src/content/docs/enterprise.mdx +169 -0
  205. package/src/content/docs/es/acp.mdx +156 -0
  206. package/src/content/docs/es/agents.mdx +755 -0
  207. package/src/content/docs/es/cli.mdx +616 -0
  208. package/src/content/docs/es/commands.mdx +323 -0
  209. package/src/content/docs/es/config.mdx +685 -0
  210. package/src/content/docs/es/custom-tools.mdx +196 -0
  211. package/src/content/docs/es/ecosystem.mdx +78 -0
  212. package/src/content/docs/es/enterprise.mdx +170 -0
  213. package/src/content/docs/es/formatters.mdx +131 -0
  214. package/src/content/docs/es/github.mdx +321 -0
  215. package/src/content/docs/es/gitlab.mdx +195 -0
  216. package/src/content/docs/es/go.mdx +238 -0
  217. package/src/content/docs/es/ide.mdx +48 -0
  218. package/src/content/docs/es/index.mdx +345 -0
  219. package/src/content/docs/es/keybinds.mdx +194 -0
  220. package/src/content/docs/es/lsp.mdx +208 -0
  221. package/src/content/docs/es/mcp-servers.mdx +511 -0
  222. package/src/content/docs/es/models.mdx +223 -0
  223. package/src/content/docs/es/network.mdx +57 -0
  224. package/src/content/docs/es/permissions.mdx +235 -0
  225. package/src/content/docs/es/plugins.mdx +389 -0
  226. package/src/content/docs/es/providers.mdx +1989 -0
  227. package/src/content/docs/es/rules.mdx +180 -0
  228. package/src/content/docs/es/sdk.mdx +463 -0
  229. package/src/content/docs/es/server.mdx +287 -0
  230. package/src/content/docs/es/share.mdx +128 -0
  231. package/src/content/docs/es/skills.mdx +222 -0
  232. package/src/content/docs/es/themes.mdx +369 -0
  233. package/src/content/docs/es/tools.mdx +341 -0
  234. package/src/content/docs/es/troubleshooting.mdx +300 -0
  235. package/src/content/docs/es/tui.mdx +429 -0
  236. package/src/content/docs/es/web.mdx +142 -0
  237. package/src/content/docs/es/windows-wsl.mdx +113 -0
  238. package/src/content/docs/es/zen.mdx +345 -0
  239. package/src/content/docs/formatters.mdx +143 -0
  240. package/src/content/docs/fr/acp.mdx +156 -0
  241. package/src/content/docs/fr/agents.mdx +755 -0
  242. package/src/content/docs/fr/cli.mdx +617 -0
  243. package/src/content/docs/fr/commands.mdx +322 -0
  244. package/src/content/docs/fr/config.mdx +686 -0
  245. package/src/content/docs/fr/custom-tools.mdx +170 -0
  246. package/src/content/docs/fr/ecosystem.mdx +78 -0
  247. package/src/content/docs/fr/enterprise.mdx +165 -0
  248. package/src/content/docs/fr/formatters.mdx +131 -0
  249. package/src/content/docs/fr/github.mdx +322 -0
  250. package/src/content/docs/fr/gitlab.mdx +195 -0
  251. package/src/content/docs/fr/go.mdx +224 -0
  252. package/src/content/docs/fr/ide.mdx +48 -0
  253. package/src/content/docs/fr/index.mdx +344 -0
  254. package/src/content/docs/fr/keybinds.mdx +194 -0
  255. package/src/content/docs/fr/lsp.mdx +208 -0
  256. package/src/content/docs/fr/mcp-servers.mdx +511 -0
  257. package/src/content/docs/fr/models.mdx +222 -0
  258. package/src/content/docs/fr/network.mdx +57 -0
  259. package/src/content/docs/fr/permissions.mdx +235 -0
  260. package/src/content/docs/fr/plugins.mdx +384 -0
  261. package/src/content/docs/fr/providers.mdx +1996 -0
  262. package/src/content/docs/fr/rules.mdx +180 -0
  263. package/src/content/docs/fr/sdk.mdx +463 -0
  264. package/src/content/docs/fr/server.mdx +287 -0
  265. package/src/content/docs/fr/share.mdx +128 -0
  266. package/src/content/docs/fr/skills.mdx +222 -0
  267. package/src/content/docs/fr/themes.mdx +369 -0
  268. package/src/content/docs/fr/tools.mdx +341 -0
  269. package/src/content/docs/fr/troubleshooting.mdx +300 -0
  270. package/src/content/docs/fr/tui.mdx +429 -0
  271. package/src/content/docs/fr/web.mdx +142 -0
  272. package/src/content/docs/fr/windows-wsl.mdx +113 -0
  273. package/src/content/docs/fr/zen.mdx +327 -0
  274. package/src/content/docs/github.mdx +321 -0
  275. package/src/content/docs/gitlab.mdx +195 -0
  276. package/src/content/docs/go.mdx +238 -0
  277. package/src/content/docs/ide.mdx +48 -0
  278. package/src/content/docs/index.mdx +360 -0
  279. package/src/content/docs/it/acp.mdx +155 -0
  280. package/src/content/docs/it/agents.mdx +753 -0
  281. package/src/content/docs/it/cli.mdx +617 -0
  282. package/src/content/docs/it/commands.mdx +322 -0
  283. package/src/content/docs/it/config.mdx +685 -0
  284. package/src/content/docs/it/custom-tools.mdx +196 -0
  285. package/src/content/docs/it/ecosystem.mdx +78 -0
  286. package/src/content/docs/it/enterprise.mdx +165 -0
  287. package/src/content/docs/it/formatters.mdx +132 -0
  288. package/src/content/docs/it/github.mdx +321 -0
  289. package/src/content/docs/it/gitlab.mdx +195 -0
  290. package/src/content/docs/it/go.mdx +236 -0
  291. package/src/content/docs/it/ide.mdx +48 -0
  292. package/src/content/docs/it/index.mdx +344 -0
  293. package/src/content/docs/it/keybinds.mdx +194 -0
  294. package/src/content/docs/it/lsp.mdx +208 -0
  295. package/src/content/docs/it/mcp-servers.mdx +511 -0
  296. package/src/content/docs/it/models.mdx +222 -0
  297. package/src/content/docs/it/network.mdx +57 -0
  298. package/src/content/docs/it/permissions.mdx +235 -0
  299. package/src/content/docs/it/plugins.mdx +388 -0
  300. package/src/content/docs/it/providers.mdx +1964 -0
  301. package/src/content/docs/it/rules.mdx +180 -0
  302. package/src/content/docs/it/sdk.mdx +463 -0
  303. package/src/content/docs/it/server.mdx +284 -0
  304. package/src/content/docs/it/share.mdx +127 -0
  305. package/src/content/docs/it/skills.mdx +222 -0
  306. package/src/content/docs/it/themes.mdx +369 -0
  307. package/src/content/docs/it/tools.mdx +341 -0
  308. package/src/content/docs/it/troubleshooting.mdx +299 -0
  309. package/src/content/docs/it/tui.mdx +426 -0
  310. package/src/content/docs/it/web.mdx +142 -0
  311. package/src/content/docs/it/windows-wsl.mdx +113 -0
  312. package/src/content/docs/it/zen.mdx +345 -0
  313. package/src/content/docs/ja/acp.mdx +155 -0
  314. package/src/content/docs/ja/agents.mdx +751 -0
  315. package/src/content/docs/ja/cli.mdx +616 -0
  316. package/src/content/docs/ja/commands.mdx +322 -0
  317. package/src/content/docs/ja/config.mdx +684 -0
  318. package/src/content/docs/ja/custom-tools.mdx +196 -0
  319. package/src/content/docs/ja/ecosystem.mdx +78 -0
  320. package/src/content/docs/ja/enterprise.mdx +166 -0
  321. package/src/content/docs/ja/formatters.mdx +132 -0
  322. package/src/content/docs/ja/github.mdx +322 -0
  323. package/src/content/docs/ja/gitlab.mdx +195 -0
  324. package/src/content/docs/ja/go.mdx +224 -0
  325. package/src/content/docs/ja/ide.mdx +48 -0
  326. package/src/content/docs/ja/index.mdx +350 -0
  327. package/src/content/docs/ja/keybinds.mdx +194 -0
  328. package/src/content/docs/ja/lsp.mdx +208 -0
  329. package/src/content/docs/ja/mcp-servers.mdx +511 -0
  330. package/src/content/docs/ja/models.mdx +221 -0
  331. package/src/content/docs/ja/network.mdx +55 -0
  332. package/src/content/docs/ja/permissions.mdx +282 -0
  333. package/src/content/docs/ja/plugins.mdx +461 -0
  334. package/src/content/docs/ja/providers.mdx +1998 -0
  335. package/src/content/docs/ja/rules.mdx +179 -0
  336. package/src/content/docs/ja/sdk.mdx +463 -0
  337. package/src/content/docs/ja/server.mdx +282 -0
  338. package/src/content/docs/ja/share.mdx +128 -0
  339. package/src/content/docs/ja/skills.mdx +222 -0
  340. package/src/content/docs/ja/themes.mdx +667 -0
  341. package/src/content/docs/ja/tools.mdx +341 -0
  342. package/src/content/docs/ja/troubleshooting.mdx +300 -0
  343. package/src/content/docs/ja/tui.mdx +423 -0
  344. package/src/content/docs/ja/web.mdx +143 -0
  345. package/src/content/docs/ja/windows-wsl.mdx +116 -0
  346. package/src/content/docs/ja/zen.mdx +327 -0
  347. package/src/content/docs/keybinds.mdx +299 -0
  348. package/src/content/docs/ko/acp.mdx +156 -0
  349. package/src/content/docs/ko/agents.mdx +754 -0
  350. package/src/content/docs/ko/cli.mdx +616 -0
  351. package/src/content/docs/ko/commands.mdx +323 -0
  352. package/src/content/docs/ko/config.mdx +685 -0
  353. package/src/content/docs/ko/custom-tools.mdx +196 -0
  354. package/src/content/docs/ko/ecosystem.mdx +78 -0
  355. package/src/content/docs/ko/enterprise.mdx +165 -0
  356. package/src/content/docs/ko/formatters.mdx +132 -0
  357. package/src/content/docs/ko/github.mdx +321 -0
  358. package/src/content/docs/ko/gitlab.mdx +195 -0
  359. package/src/content/docs/ko/go.mdx +224 -0
  360. package/src/content/docs/ko/ide.mdx +48 -0
  361. package/src/content/docs/ko/index.mdx +344 -0
  362. package/src/content/docs/ko/keybinds.mdx +194 -0
  363. package/src/content/docs/ko/lsp.mdx +208 -0
  364. package/src/content/docs/ko/mcp-servers.mdx +511 -0
  365. package/src/content/docs/ko/models.mdx +223 -0
  366. package/src/content/docs/ko/network.mdx +57 -0
  367. package/src/content/docs/ko/permissions.mdx +235 -0
  368. package/src/content/docs/ko/plugins.mdx +388 -0
  369. package/src/content/docs/ko/providers.mdx +1984 -0
  370. package/src/content/docs/ko/rules.mdx +179 -0
  371. package/src/content/docs/ko/sdk.mdx +463 -0
  372. package/src/content/docs/ko/server.mdx +287 -0
  373. package/src/content/docs/ko/share.mdx +128 -0
  374. package/src/content/docs/ko/skills.mdx +222 -0
  375. package/src/content/docs/ko/themes.mdx +369 -0
  376. package/src/content/docs/ko/tools.mdx +341 -0
  377. package/src/content/docs/ko/troubleshooting.mdx +303 -0
  378. package/src/content/docs/ko/tui.mdx +425 -0
  379. package/src/content/docs/ko/web.mdx +142 -0
  380. package/src/content/docs/ko/windows-wsl.mdx +119 -0
  381. package/src/content/docs/ko/zen.mdx +327 -0
  382. package/src/content/docs/lsp.mdx +214 -0
  383. package/src/content/docs/mcp-servers.mdx +512 -0
  384. package/src/content/docs/models.mdx +223 -0
  385. package/src/content/docs/nb/acp.mdx +156 -0
  386. package/src/content/docs/nb/agents.mdx +754 -0
  387. package/src/content/docs/nb/cli.mdx +617 -0
  388. package/src/content/docs/nb/commands.mdx +323 -0
  389. package/src/content/docs/nb/config.mdx +688 -0
  390. package/src/content/docs/nb/custom-tools.mdx +196 -0
  391. package/src/content/docs/nb/ecosystem.mdx +78 -0
  392. package/src/content/docs/nb/enterprise.mdx +170 -0
  393. package/src/content/docs/nb/formatters.mdx +131 -0
  394. package/src/content/docs/nb/github.mdx +325 -0
  395. package/src/content/docs/nb/gitlab.mdx +195 -0
  396. package/src/content/docs/nb/go.mdx +238 -0
  397. package/src/content/docs/nb/ide.mdx +48 -0
  398. package/src/content/docs/nb/index.mdx +359 -0
  399. package/src/content/docs/nb/keybinds.mdx +194 -0
  400. package/src/content/docs/nb/lsp.mdx +208 -0
  401. package/src/content/docs/nb/mcp-servers.mdx +624 -0
  402. package/src/content/docs/nb/models.mdx +223 -0
  403. package/src/content/docs/nb/network.mdx +57 -0
  404. package/src/content/docs/nb/permissions.mdx +235 -0
  405. package/src/content/docs/nb/plugins.mdx +389 -0
  406. package/src/content/docs/nb/providers.mdx +1956 -0
  407. package/src/content/docs/nb/rules.mdx +180 -0
  408. package/src/content/docs/nb/sdk.mdx +463 -0
  409. package/src/content/docs/nb/server.mdx +287 -0
  410. package/src/content/docs/nb/share.mdx +128 -0
  411. package/src/content/docs/nb/skills.mdx +222 -0
  412. package/src/content/docs/nb/themes.mdx +369 -0
  413. package/src/content/docs/nb/tools.mdx +341 -0
  414. package/src/content/docs/nb/troubleshooting.mdx +225 -0
  415. package/src/content/docs/nb/tui.mdx +429 -0
  416. package/src/content/docs/nb/web.mdx +105 -0
  417. package/src/content/docs/nb/windows-wsl.mdx +113 -0
  418. package/src/content/docs/nb/zen.mdx +345 -0
  419. package/src/content/docs/network.mdx +57 -0
  420. package/src/content/docs/permissions.mdx +256 -0
  421. package/src/content/docs/pl/acp.mdx +158 -0
  422. package/src/content/docs/pl/agents.mdx +754 -0
  423. package/src/content/docs/pl/cli.mdx +617 -0
  424. package/src/content/docs/pl/commands.mdx +323 -0
  425. package/src/content/docs/pl/config.mdx +680 -0
  426. package/src/content/docs/pl/custom-tools.mdx +196 -0
  427. package/src/content/docs/pl/ecosystem.mdx +78 -0
  428. package/src/content/docs/pl/enterprise.mdx +170 -0
  429. package/src/content/docs/pl/formatters.mdx +131 -0
  430. package/src/content/docs/pl/github.mdx +321 -0
  431. package/src/content/docs/pl/gitlab.mdx +195 -0
  432. package/src/content/docs/pl/go.mdx +230 -0
  433. package/src/content/docs/pl/ide.mdx +48 -0
  434. package/src/content/docs/pl/index.mdx +347 -0
  435. package/src/content/docs/pl/keybinds.mdx +194 -0
  436. package/src/content/docs/pl/lsp.mdx +208 -0
  437. package/src/content/docs/pl/mcp-servers.mdx +511 -0
  438. package/src/content/docs/pl/models.mdx +223 -0
  439. package/src/content/docs/pl/network.mdx +57 -0
  440. package/src/content/docs/pl/permissions.mdx +235 -0
  441. package/src/content/docs/pl/plugins.mdx +385 -0
  442. package/src/content/docs/pl/providers.mdx +1986 -0
  443. package/src/content/docs/pl/rules.mdx +180 -0
  444. package/src/content/docs/pl/sdk.mdx +463 -0
  445. package/src/content/docs/pl/server.mdx +287 -0
  446. package/src/content/docs/pl/share.mdx +128 -0
  447. package/src/content/docs/pl/skills.mdx +222 -0
  448. package/src/content/docs/pl/themes.mdx +369 -0
  449. package/src/content/docs/pl/tools.mdx +341 -0
  450. package/src/content/docs/pl/troubleshooting.mdx +300 -0
  451. package/src/content/docs/pl/tui.mdx +429 -0
  452. package/src/content/docs/pl/web.mdx +142 -0
  453. package/src/content/docs/pl/windows-wsl.mdx +113 -0
  454. package/src/content/docs/pl/zen.mdx +344 -0
  455. package/src/content/docs/plugins.mdx +389 -0
  456. package/src/content/docs/policies.mdx +137 -0
  457. package/src/content/docs/providers.mdx +2501 -0
  458. package/src/content/docs/pt-br/acp.mdx +156 -0
  459. package/src/content/docs/pt-br/agents.mdx +755 -0
  460. package/src/content/docs/pt-br/cli.mdx +616 -0
  461. package/src/content/docs/pt-br/commands.mdx +322 -0
  462. package/src/content/docs/pt-br/config.mdx +687 -0
  463. package/src/content/docs/pt-br/custom-tools.mdx +196 -0
  464. package/src/content/docs/pt-br/ecosystem.mdx +78 -0
  465. package/src/content/docs/pt-br/enterprise.mdx +166 -0
  466. package/src/content/docs/pt-br/formatters.mdx +131 -0
  467. package/src/content/docs/pt-br/github.mdx +321 -0
  468. package/src/content/docs/pt-br/gitlab.mdx +195 -0
  469. package/src/content/docs/pt-br/go.mdx +238 -0
  470. package/src/content/docs/pt-br/ide.mdx +48 -0
  471. package/src/content/docs/pt-br/index.mdx +344 -0
  472. package/src/content/docs/pt-br/keybinds.mdx +194 -0
  473. package/src/content/docs/pt-br/lsp.mdx +208 -0
  474. package/src/content/docs/pt-br/mcp-servers.mdx +511 -0
  475. package/src/content/docs/pt-br/models.mdx +222 -0
  476. package/src/content/docs/pt-br/network.mdx +57 -0
  477. package/src/content/docs/pt-br/permissions.mdx +235 -0
  478. package/src/content/docs/pt-br/plugins.mdx +388 -0
  479. package/src/content/docs/pt-br/providers.mdx +1989 -0
  480. package/src/content/docs/pt-br/rules.mdx +180 -0
  481. package/src/content/docs/pt-br/sdk.mdx +463 -0
  482. package/src/content/docs/pt-br/server.mdx +284 -0
  483. package/src/content/docs/pt-br/share.mdx +127 -0
  484. package/src/content/docs/pt-br/skills.mdx +222 -0
  485. package/src/content/docs/pt-br/themes.mdx +369 -0
  486. package/src/content/docs/pt-br/tools.mdx +341 -0
  487. package/src/content/docs/pt-br/troubleshooting.mdx +299 -0
  488. package/src/content/docs/pt-br/tui.mdx +426 -0
  489. package/src/content/docs/pt-br/web.mdx +142 -0
  490. package/src/content/docs/pt-br/windows-wsl.mdx +113 -0
  491. package/src/content/docs/pt-br/zen.mdx +327 -0
  492. package/src/content/docs/references.mdx +157 -0
  493. package/src/content/docs/ru/acp.mdx +156 -0
  494. package/src/content/docs/ru/agents.mdx +754 -0
  495. package/src/content/docs/ru/cli.mdx +617 -0
  496. package/src/content/docs/ru/commands.mdx +323 -0
  497. package/src/content/docs/ru/config.mdx +685 -0
  498. package/src/content/docs/ru/custom-tools.mdx +170 -0
  499. package/src/content/docs/ru/ecosystem.mdx +78 -0
  500. package/src/content/docs/ru/enterprise.mdx +168 -0
  501. package/src/content/docs/ru/formatters.mdx +119 -0
  502. package/src/content/docs/ru/github.mdx +321 -0
  503. package/src/content/docs/ru/gitlab.mdx +195 -0
  504. package/src/content/docs/ru/go.mdx +238 -0
  505. package/src/content/docs/ru/ide.mdx +48 -0
  506. package/src/content/docs/ru/index.mdx +356 -0
  507. package/src/content/docs/ru/keybinds.mdx +194 -0
  508. package/src/content/docs/ru/lsp.mdx +207 -0
  509. package/src/content/docs/ru/mcp-servers.mdx +511 -0
  510. package/src/content/docs/ru/models.mdx +223 -0
  511. package/src/content/docs/ru/network.mdx +57 -0
  512. package/src/content/docs/ru/permissions.mdx +235 -0
  513. package/src/content/docs/ru/plugins.mdx +385 -0
  514. package/src/content/docs/ru/providers.mdx +1987 -0
  515. package/src/content/docs/ru/rules.mdx +180 -0
  516. package/src/content/docs/ru/sdk.mdx +463 -0
  517. package/src/content/docs/ru/server.mdx +287 -0
  518. package/src/content/docs/ru/share.mdx +128 -0
  519. package/src/content/docs/ru/skills.mdx +222 -0
  520. package/src/content/docs/ru/themes.mdx +369 -0
  521. package/src/content/docs/ru/tools.mdx +341 -0
  522. package/src/content/docs/ru/troubleshooting.mdx +300 -0
  523. package/src/content/docs/ru/tui.mdx +429 -0
  524. package/src/content/docs/ru/web.mdx +142 -0
  525. package/src/content/docs/ru/windows-wsl.mdx +113 -0
  526. package/src/content/docs/ru/zen.mdx +345 -0
  527. package/src/content/docs/rules.mdx +188 -0
  528. package/src/content/docs/sdk.mdx +463 -0
  529. package/src/content/docs/server.mdx +287 -0
  530. package/src/content/docs/share.mdx +128 -0
  531. package/src/content/docs/skills.mdx +222 -0
  532. package/src/content/docs/th/acp.mdx +156 -0
  533. package/src/content/docs/th/agents.mdx +744 -0
  534. package/src/content/docs/th/cli.mdx +618 -0
  535. package/src/content/docs/th/commands.mdx +320 -0
  536. package/src/content/docs/th/config.mdx +690 -0
  537. package/src/content/docs/th/custom-tools.mdx +196 -0
  538. package/src/content/docs/th/ecosystem.mdx +78 -0
  539. package/src/content/docs/th/enterprise.mdx +170 -0
  540. package/src/content/docs/th/formatters.mdx +131 -0
  541. package/src/content/docs/th/github.mdx +321 -0
  542. package/src/content/docs/th/gitlab.mdx +195 -0
  543. package/src/content/docs/th/go.mdx +224 -0
  544. package/src/content/docs/th/ide.mdx +48 -0
  545. package/src/content/docs/th/index.mdx +360 -0
  546. package/src/content/docs/th/keybinds.mdx +194 -0
  547. package/src/content/docs/th/lsp.mdx +208 -0
  548. package/src/content/docs/th/mcp-servers.mdx +511 -0
  549. package/src/content/docs/th/models.mdx +223 -0
  550. package/src/content/docs/th/network.mdx +57 -0
  551. package/src/content/docs/th/permissions.mdx +235 -0
  552. package/src/content/docs/th/plugins.mdx +389 -0
  553. package/src/content/docs/th/providers.mdx +2532 -0
  554. package/src/content/docs/th/rules.mdx +180 -0
  555. package/src/content/docs/th/sdk.mdx +463 -0
  556. package/src/content/docs/th/server.mdx +287 -0
  557. package/src/content/docs/th/share.mdx +128 -0
  558. package/src/content/docs/th/skills.mdx +222 -0
  559. package/src/content/docs/th/themes.mdx +369 -0
  560. package/src/content/docs/th/tools.mdx +341 -0
  561. package/src/content/docs/th/troubleshooting.mdx +300 -0
  562. package/src/content/docs/th/tui.mdx +429 -0
  563. package/src/content/docs/th/web.mdx +142 -0
  564. package/src/content/docs/th/windows-wsl.mdx +113 -0
  565. package/src/content/docs/th/zen.mdx +329 -0
  566. package/src/content/docs/themes.mdx +369 -0
  567. package/src/content/docs/tools.mdx +345 -0
  568. package/src/content/docs/tr/acp.mdx +156 -0
  569. package/src/content/docs/tr/agents.mdx +754 -0
  570. package/src/content/docs/tr/cli.mdx +617 -0
  571. package/src/content/docs/tr/commands.mdx +323 -0
  572. package/src/content/docs/tr/config.mdx +687 -0
  573. package/src/content/docs/tr/custom-tools.mdx +196 -0
  574. package/src/content/docs/tr/ecosystem.mdx +78 -0
  575. package/src/content/docs/tr/enterprise.mdx +170 -0
  576. package/src/content/docs/tr/formatters.mdx +131 -0
  577. package/src/content/docs/tr/github.mdx +321 -0
  578. package/src/content/docs/tr/gitlab.mdx +195 -0
  579. package/src/content/docs/tr/go.mdx +224 -0
  580. package/src/content/docs/tr/ide.mdx +48 -0
  581. package/src/content/docs/tr/index.mdx +347 -0
  582. package/src/content/docs/tr/keybinds.mdx +194 -0
  583. package/src/content/docs/tr/lsp.mdx +208 -0
  584. package/src/content/docs/tr/mcp-servers.mdx +511 -0
  585. package/src/content/docs/tr/models.mdx +223 -0
  586. package/src/content/docs/tr/network.mdx +57 -0
  587. package/src/content/docs/tr/permissions.mdx +235 -0
  588. package/src/content/docs/tr/plugins.mdx +388 -0
  589. package/src/content/docs/tr/providers.mdx +1988 -0
  590. package/src/content/docs/tr/rules.mdx +180 -0
  591. package/src/content/docs/tr/sdk.mdx +463 -0
  592. package/src/content/docs/tr/server.mdx +285 -0
  593. package/src/content/docs/tr/share.mdx +127 -0
  594. package/src/content/docs/tr/skills.mdx +222 -0
  595. package/src/content/docs/tr/themes.mdx +369 -0
  596. package/src/content/docs/tr/tools.mdx +341 -0
  597. package/src/content/docs/tr/troubleshooting.mdx +299 -0
  598. package/src/content/docs/tr/tui.mdx +427 -0
  599. package/src/content/docs/tr/web.mdx +142 -0
  600. package/src/content/docs/tr/windows-wsl.mdx +113 -0
  601. package/src/content/docs/tr/zen.mdx +327 -0
  602. package/src/content/docs/troubleshooting.mdx +314 -0
  603. package/src/content/docs/tui.mdx +427 -0
  604. package/src/content/docs/web.mdx +142 -0
  605. package/src/content/docs/windows-wsl.mdx +112 -0
  606. package/src/content/docs/zen.mdx +345 -0
  607. package/src/content/docs/zh-cn/acp.mdx +156 -0
  608. package/src/content/docs/zh-cn/agents.mdx +754 -0
  609. package/src/content/docs/zh-cn/cli.mdx +617 -0
  610. package/src/content/docs/zh-cn/commands.mdx +322 -0
  611. package/src/content/docs/zh-cn/config.mdx +683 -0
  612. package/src/content/docs/zh-cn/custom-tools.mdx +196 -0
  613. package/src/content/docs/zh-cn/ecosystem.mdx +78 -0
  614. package/src/content/docs/zh-cn/enterprise.mdx +165 -0
  615. package/src/content/docs/zh-cn/formatters.mdx +132 -0
  616. package/src/content/docs/zh-cn/github.mdx +321 -0
  617. package/src/content/docs/zh-cn/gitlab.mdx +194 -0
  618. package/src/content/docs/zh-cn/go.mdx +224 -0
  619. package/src/content/docs/zh-cn/ide.mdx +48 -0
  620. package/src/content/docs/zh-cn/index.mdx +343 -0
  621. package/src/content/docs/zh-cn/keybinds.mdx +194 -0
  622. package/src/content/docs/zh-cn/lsp.mdx +208 -0
  623. package/src/content/docs/zh-cn/mcp-servers.mdx +511 -0
  624. package/src/content/docs/zh-cn/models.mdx +222 -0
  625. package/src/content/docs/zh-cn/network.mdx +57 -0
  626. package/src/content/docs/zh-cn/permissions.mdx +235 -0
  627. package/src/content/docs/zh-cn/plugins.mdx +388 -0
  628. package/src/content/docs/zh-cn/providers.mdx +1949 -0
  629. package/src/content/docs/zh-cn/rules.mdx +180 -0
  630. package/src/content/docs/zh-cn/sdk.mdx +463 -0
  631. package/src/content/docs/zh-cn/server.mdx +284 -0
  632. package/src/content/docs/zh-cn/share.mdx +127 -0
  633. package/src/content/docs/zh-cn/skills.mdx +222 -0
  634. package/src/content/docs/zh-cn/themes.mdx +369 -0
  635. package/src/content/docs/zh-cn/tools.mdx +341 -0
  636. package/src/content/docs/zh-cn/troubleshooting.mdx +299 -0
  637. package/src/content/docs/zh-cn/tui.mdx +426 -0
  638. package/src/content/docs/zh-cn/web.mdx +142 -0
  639. package/src/content/docs/zh-cn/windows-wsl.mdx +112 -0
  640. package/src/content/docs/zh-cn/zen.mdx +327 -0
  641. package/src/content/docs/zh-tw/acp.mdx +156 -0
  642. package/src/content/docs/zh-tw/agents.mdx +754 -0
  643. package/src/content/docs/zh-tw/cli.mdx +617 -0
  644. package/src/content/docs/zh-tw/commands.mdx +322 -0
  645. package/src/content/docs/zh-tw/config.mdx +687 -0
  646. package/src/content/docs/zh-tw/custom-tools.mdx +196 -0
  647. package/src/content/docs/zh-tw/ecosystem.mdx +78 -0
  648. package/src/content/docs/zh-tw/enterprise.mdx +165 -0
  649. package/src/content/docs/zh-tw/formatters.mdx +132 -0
  650. package/src/content/docs/zh-tw/github.mdx +321 -0
  651. package/src/content/docs/zh-tw/gitlab.mdx +194 -0
  652. package/src/content/docs/zh-tw/go.mdx +224 -0
  653. package/src/content/docs/zh-tw/ide.mdx +48 -0
  654. package/src/content/docs/zh-tw/index.mdx +343 -0
  655. package/src/content/docs/zh-tw/keybinds.mdx +194 -0
  656. package/src/content/docs/zh-tw/lsp.mdx +208 -0
  657. package/src/content/docs/zh-tw/mcp-servers.mdx +511 -0
  658. package/src/content/docs/zh-tw/models.mdx +222 -0
  659. package/src/content/docs/zh-tw/network.mdx +57 -0
  660. package/src/content/docs/zh-tw/permissions.mdx +235 -0
  661. package/src/content/docs/zh-tw/plugins.mdx +388 -0
  662. package/src/content/docs/zh-tw/providers.mdx +1970 -0
  663. package/src/content/docs/zh-tw/rules.mdx +180 -0
  664. package/src/content/docs/zh-tw/sdk.mdx +463 -0
  665. package/src/content/docs/zh-tw/server.mdx +284 -0
  666. package/src/content/docs/zh-tw/share.mdx +127 -0
  667. package/src/content/docs/zh-tw/skills.mdx +222 -0
  668. package/src/content/docs/zh-tw/themes.mdx +369 -0
  669. package/src/content/docs/zh-tw/tools.mdx +341 -0
  670. package/src/content/docs/zh-tw/troubleshooting.mdx +299 -0
  671. package/src/content/docs/zh-tw/tui.mdx +426 -0
  672. package/src/content/docs/zh-tw/web.mdx +142 -0
  673. package/src/content/docs/zh-tw/windows-wsl.mdx +112 -0
  674. package/src/content/docs/zh-tw/zen.mdx +333 -0
  675. package/src/content/i18n/ar.json +75 -0
  676. package/src/content/i18n/bs.json +75 -0
  677. package/src/content/i18n/da.json +75 -0
  678. package/src/content/i18n/de.json +75 -0
  679. package/src/content/i18n/en.json +75 -0
  680. package/src/content/i18n/es.json +75 -0
  681. package/src/content/i18n/fr.json +75 -0
  682. package/src/content/i18n/it.json +75 -0
  683. package/src/content/i18n/ja.json +75 -0
  684. package/src/content/i18n/ko.json +75 -0
  685. package/src/content/i18n/nb.json +75 -0
  686. package/src/content/i18n/pl.json +75 -0
  687. package/src/content/i18n/pt-BR.json +75 -0
  688. package/src/content/i18n/ru.json +75 -0
  689. package/src/content/i18n/th.json +75 -0
  690. package/src/content/i18n/tr.json +75 -0
  691. package/src/content/i18n/zh-CN.json +75 -0
  692. package/src/content/i18n/zh-TW.json +75 -0
  693. package/src/content.config.ts +16 -0
  694. package/src/i18n/locales.ts +117 -0
  695. package/src/middleware.ts +94 -0
  696. package/src/pages/[...slug].md.ts +34 -0
  697. package/src/pages/s/[id].astro +164 -0
  698. package/src/styles/custom.css +405 -0
  699. package/src/types/lang-map.d.ts +27 -0
  700. package/src/types/starlight-virtual.d.ts +14 -0
  701. package/sst-env.d.ts +10 -0
  702. package/tsconfig.json +9 -0
@@ -0,0 +1,1988 @@
1
+ ---
2
+ title: Sağlayıcılar
3
+ description: opencode'da herhangi bir LLM sağlayıcısını kullanma.
4
+ ---
5
+
6
+ import config from "../../../../config.mjs"
7
+ export const console = config.console
8
+
9
+ opencode, **75'ten fazla LLM sağlayıcısını** desteklemek için [AI SDK](https://ai-sdk.dev/) ve [Models.dev](https://models.dev) kullanır ve yerel modellerin çalıştırılmasını destekler.
10
+
11
+ Bir sağlayıcı eklemek için şunları yapmanız gerekir:
12
+
13
+ 1. `/connect` komutunu kullanarak sağlayıcı için API anahtarlarını ekleyin.
14
+ 2. Sağlayıcıyı opencode yapılandırmanızda yapılandırın.
15
+
16
+ ---
17
+
18
+ ### Kimlik Bilgileri
19
+
20
+ Bir sağlayıcının API anahtarlarını `/connect` komutuyla eklediğinizde, bunlar saklanır
21
+ `~/.local/share/opencode/auth.json` içinde.
22
+
23
+ ---
24
+
25
+ ### Yapılandırma
26
+
27
+ Sağlayıcıları opencode'unuzdaki `provider` bölümü aracılığıyla özelleştirebilirsiniz.
28
+ config.
29
+
30
+ ---
31
+
32
+ #### Temel URL
33
+
34
+ `baseURL` seçeneğini ayarlayarak URL tabanını herhangi bir sağlayıcı için özelleştirebilirsiniz. Bu, proxy hizmetlerini veya özel uç noktaları kullanırken kullanışlıdır.
35
+
36
+ ```json title="opencode.json" {6}
37
+ {
38
+ "$schema": "https://opencode.ai/config.json",
39
+ "provider": {
40
+ "anthropic": {
41
+ "options": {
42
+ "baseURL": "https://api.anthropic.com/v1"
43
+ }
44
+ }
45
+ }
46
+ }
47
+ ```
48
+
49
+ ---
50
+
51
+ ## OpenCode Zen
52
+
53
+ OpenCode Zen, opencode ekibi tarafından sağlanan modellerin bir listesidir.
54
+ opencode ile iyi çalıştığı test edilip doğrulandı. [Daha fazla bilgi](/docs/zen).
55
+
56
+ :::tip
57
+ Yeniyseniz OpenCode Zen ile başlamanızı öneririz.
58
+ :::
59
+
60
+ 1. TUI'de `/connect` komutunu çalıştırın, opencode'u seçin ve [opencode.ai/auth](https://opencode.ai/auth)'ye gidin.
61
+
62
+ ```txt
63
+ /connect
64
+ ```
65
+
66
+ 2. Oturum açın, fatura ayrıntılarınızı ekleyin ve API anahtarınızı kopyalayın.
67
+
68
+ 3. API anahtarınızı yapıştırın.
69
+
70
+ ```txt
71
+ ┌ API key
72
+
73
+
74
+ └ enter
75
+ ```
76
+
77
+ 4. Önerdiğimiz modellerin listesini görmek için TUI'de `/models` komutunu çalıştırın.
78
+
79
+ ```txt
80
+ /models
81
+ ```
82
+
83
+ opencode'daki diğer sağlayıcılar gibi çalışır ve kullanımı tamamen isteğe bağlıdır.
84
+
85
+ ---
86
+
87
+ ## OpenCode Go
88
+
89
+ OpenCode Go, opencode ile iyi çalıştığı test edilmiş ve doğrulanmış, opencode ekibi tarafından sağlanan popüler açık kodlama modellerine güvenilir erişim sağlayan düşük maliyetli bir abonelik planıdır.
90
+
91
+ 1. TUI'de `/connect` komutunu çalıştırın, `OpenCode Go`'yu seçin ve [opencode.ai/auth](https://opencode.ai/zen) adresine gidin.
92
+
93
+ ```txt
94
+ /connect
95
+ ```
96
+
97
+ 2. Oturum açın, fatura ayrıntılarınızı ekleyin ve API anahtarınızı kopyalayın.
98
+
99
+ 3. API anahtarınızı yapıştırın.
100
+
101
+ ```txt
102
+ ┌ API key
103
+
104
+
105
+ └ enter
106
+ ```
107
+
108
+ 4. Önerdiğimiz modellerin listesini görmek için TUI'de `/models` komutunu çalıştırın.
109
+
110
+ ```txt
111
+ /models
112
+ ```
113
+
114
+ opencode'daki diğer sağlayıcılar gibi çalışır ve kullanımı tamamen isteğe bağlıdır.
115
+
116
+ ---
117
+
118
+ ## Dizin
119
+
120
+ Sağlayıcılardan bazılarına ayrıntılı olarak bakalım. Bir sağlayıcı eklemek istiyorsanız
121
+ liste, bir PR açmaktan çekinmeyin.
122
+
123
+ :::note
124
+ Burada bir sağlayıcı göremiyor musunuz? Bir PR gönderin.
125
+ :::
126
+
127
+ ---
128
+
129
+ ### 302.AI
130
+
131
+ 1. [302.AI console](https://302.ai/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
132
+
133
+ 2. `/connect` komutunu çalıştırın ve **302.AI**'yi arayın.
134
+
135
+ ```txt
136
+ /connect
137
+ ```
138
+
139
+ 3. 302.AI API anahtarınızı girin.
140
+
141
+ ```txt
142
+ ┌ API key
143
+
144
+
145
+ └ enter
146
+ ```
147
+
148
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
149
+
150
+ ```txt
151
+ /models
152
+ ```
153
+
154
+ ---
155
+
156
+ ### Amazon Bedrock
157
+
158
+ Amazon Bedrock'u opencode ile kullanmak için:
159
+
160
+ 1. Amazon Bedrock konsolundaki **Model kataloğuna** gidin ve istekte bulunun
161
+ Dilediğiniz modellere ulaşabilirsiniz.
162
+
163
+ :::tip
164
+ Amazon Bedrock'ta istediğiniz modele erişiminizin olması gerekiyor.
165
+ :::
166
+
167
+ 2. **Kimlik doğrulamayı yapılandırın**: Aşağıdaki yöntemlerden birini kullanın:
168
+
169
+ #### Ortam Değişkenleri (Hızlı Başlangıç)
170
+
171
+ opencode'u çalıştırırken bu ortam değişkenlerinden birini ayarlayın:
172
+
173
+ ```bash
174
+ # Option 1: Using AWS access keys
175
+ AWS_ACCESS_KEY_ID=XXX AWS_SECRET_ACCESS_KEY=YYY opencode
176
+
177
+ # Option 2: Using named AWS profile
178
+ AWS_PROFILE=my-profile opencode
179
+
180
+ # Option 3: Using Bedrock bearer token
181
+ AWS_BEARER_TOKEN_BEDROCK=XXX opencode
182
+ ```
183
+
184
+ Veya bunları bash profilinize ekleyin:
185
+
186
+ ```bash title="~/.bash_profile"
187
+ export AWS_PROFILE=my-dev-profile
188
+ export AWS_REGION=us-east-1
189
+ ```
190
+
191
+ #### Yapılandırma Dosyası (Önerilen)
192
+
193
+ Projeye özel veya kalıcı yapılandırma için `opencode.json` kullanın:
194
+
195
+ ```json title="opencode.json"
196
+ {
197
+ "$schema": "https://opencode.ai/config.json",
198
+ "provider": {
199
+ "amazon-bedrock": {
200
+ "options": {
201
+ "region": "us-east-1",
202
+ "profile": "my-aws-profile"
203
+ }
204
+ }
205
+ }
206
+ }
207
+ ```
208
+
209
+ **Mevcut seçenekler:**
210
+ - `region` - AWS region (e.g., `us-east-1`, `eu-west-1`)
211
+ - `profile` - `~/.aws/credentials`'den AWS adlı profil
212
+ - `endpoint` - VPC uç noktaları için özel uç nokta URL (genel `baseURL` seçeneğinin takma adı)
213
+
214
+ :::tip
215
+ Yapılandırma dosyası seçenekleri ortam değişkenlerine göre önceliklidir.
216
+ :::
217
+
218
+ #### Gelişmiş: VPC Uç Noktaları
219
+
220
+ Bedrock için VPC uç noktaları kullanıyorsanız:
221
+
222
+ ```json title="opencode.json"
223
+ {
224
+ "$schema": "https://opencode.ai/config.json",
225
+ "provider": {
226
+ "amazon-bedrock": {
227
+ "options": {
228
+ "region": "us-east-1",
229
+ "profile": "production",
230
+ "endpoint": "https://bedrock-runtime.us-east-1.vpce-xxxxx.amazonaws.com"
231
+ }
232
+ }
233
+ }
234
+ }
235
+ ```
236
+
237
+ :::note
238
+ `endpoint` seçeneği, AWS'ye özgü terminolojiyi kullanan genel `baseURL` seçeneğinin takma adıdır. Hem `endpoint` hem de `baseURL` belirtilirse, `endpoint` öncelikli olur.
239
+ :::
240
+
241
+ #### Kimlik Doğrulama Yöntemleri
242
+
243
+ - **`AWS_ACCESS_KEY_ID` / `AWS_SECRET_ACCESS_KEY`**: Bir IAM kullanıcısı oluşturun ve AWS Konsolunda erişim anahtarları oluşturun
244
+ - **`AWS_PROFILE`**: `~/.aws/credentials`'den adlandırılmış profilleri kullanın. İlk önce `aws configure --profile my-profile` veya `aws sso login` ile yapılandırın
245
+ - **`AWS_BEARER_TOKEN_BEDROCK`**: Amazon Bedrock konsolundan uzun vadeli API anahtarları oluşturun
246
+ - **`AWS_WEB_IDENTITY_TOKEN_FILE` / `AWS_ROLE_ARN`**: EKS IRSA (IAM Hizmet Hesapları için Roller) veya OIDC federasyonuna sahip diğer Kubernetes ortamları için. Bu ortam değişkenleri, hizmet hesabı ek açıklamaları kullanılırken Kubernetes tarafından otomatik olarak eklenir.
247
+
248
+ #### Kimlik Doğrulama Önceliği
249
+
250
+ Amazon Bedrock aşağıdaki kimlik doğrulama önceliğini kullanır:
251
+
252
+ 1. **Taşıyıcı Belirteç** - `AWS_BEARER_TOKEN_BEDROCK` ortam değişkeni veya `/connect` komutundan belirteç
253
+ 2. **AWS Credential Chain** - Profil, erişim anahtarları, paylaşılan kimlik bilgileri, IAM rolleri, Web Identity Tokens (EKS IRSA), örnek meta verileri
254
+
255
+ :::note
256
+ Bir taşıyıcı belirteç ayarlandığında (`/connect` veya `AWS_BEARER_TOKEN_BEDROCK` yoluyla), yapılandırılmış profiller dahil olmak üzere tüm AWS kimlik bilgisi yöntemlerine göre öncelik kazanır.
257
+ :::
258
+
259
+ 3. İstediğiniz modeli seçmek için `/models` komutunu çalıştırın.
260
+
261
+ ```txt
262
+ /models
263
+ ```
264
+
265
+ :::note
266
+ Özel çıkarım profilleri için anahtardaki modeli ve sağlayıcı adını kullanın ve `id` özelliğini arn olarak ayarlayın. Bu, doğru önbelleğe almayı sağlar:
267
+
268
+ ```json title="opencode.json"
269
+ {
270
+ "$schema": "https://opencode.ai/config.json",
271
+ "provider": {
272
+ "amazon-bedrock": {
273
+ // ...
274
+ "models": {
275
+ "anthropic-claude-sonnet-4.5": {
276
+ "id": "arn:aws:bedrock:us-east-1:xxx:application-inference-profile/yyy"
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ ```
283
+
284
+ :::
285
+
286
+ ---
287
+
288
+ ### Anthropic
289
+
290
+ 1. Kaydolduktan sonra `/connect` komutunu çalıştırın ve Anthropic'i seçin.
291
+
292
+ ```txt
293
+ /connect
294
+ ```
295
+
296
+ 2. Burada **Claude Pro/Max** seçeneğini seçebilirsiniz; tarayıcınız açılacaktır.
297
+ ve sizden kimlik doğrulamanızı isteyeceğiz.
298
+
299
+ ```txt
300
+ ┌ Select auth method
301
+
302
+ │ Claude Pro/Max
303
+ │ Create an API Key
304
+ │ Manually enter API Key
305
+
306
+ ```
307
+
308
+ 3. Artık `/models` komutunu kullandığınızda tüm Antropik modeller mevcut olmalıdır.
309
+
310
+ ```txt
311
+ /models
312
+ ```
313
+
314
+ :::info
315
+ Claude Pro/Max aboneliğinizi opencode'da kullanmak [Anthropic](https://anthropic.com) tarafından resmi olarak desteklenmemektedir.
316
+ :::
317
+
318
+ ##### API anahtarlarını kullanma
319
+
320
+ Pro/Max aboneliğiniz yoksa **API Anahtarı Oluştur** seçeneğini de seçebilirsiniz. Ayrıca tarayıcınızı açacak ve Anthropic'te oturum açmanızı isteyecek ve terminalinize yapıştırabileceğiniz bir kod verecektir.
321
+
322
+ Veya zaten bir API anahtarınız varsa **API Anahtarını Manuel Olarak Girin** seçeneğini seçip terminalinize yapıştırabilirsiniz.
323
+
324
+ ---
325
+
326
+ ### Atomic Chat
327
+
328
+ opencode'u, yerel LLM'leri OpenAI uyumlu bir API sunucusunun arkasında çalıştıran bir masaüstü uygulaması olan [Atomic Chat](https://atomic.chat) aracılığıyla yerel modelleri kullanacak şekilde yapılandırabilirsiniz (varsayılan uç nokta `http://127.0.0.1:1337/v1`).
329
+
330
+ ```json title="opencode.json" "atomic-chat" {5, 6, 8, 10-14}
331
+ {
332
+ "$schema": "https://opencode.ai/config.json",
333
+ "provider": {
334
+ "atomic-chat": {
335
+ "npm": "@ai-sdk/openai-compatible",
336
+ "name": "Atomic Chat (local)",
337
+ "options": {
338
+ "baseURL": "http://127.0.0.1:1337/v1"
339
+ },
340
+ "models": {
341
+ "<your-model-id>": {
342
+ "name": "<your-model-name>"
343
+ }
344
+ }
345
+ }
346
+ }
347
+ }
348
+ ```
349
+
350
+ Bu örnekte:
351
+
352
+ - `atomic-chat` özel sağlayıcı kimliğidir. İstediğiniz herhangi bir dize olabilir.
353
+ - `npm` bu sağlayıcı için kullanılacak paketi belirtir. Burada, herhangi bir OpenAI uyumlu API için `@ai-sdk/openai-compatible` kullanılır.
354
+ - `name` sağlayıcının arayüzde görüntülenen adıdır.
355
+ - `options.baseURL` yerel sunucunun uç noktasıdır. Host ve portu Atomic Chat kurulumunuzla eşleşecek şekilde değiştirin.
356
+ - `models` model kimliklerini görüntüleme adlarına eşleyen bir haritadır. Her ID, `GET /v1/models` tarafından döndürülen `id` ile eşleşmelidir — Atomic Chat'te yüklü kimlikleri listelemek için `curl http://127.0.0.1:1337/v1/models` çalıştırın.
357
+
358
+ :::tip
359
+ Araç çağrıları iyi çalışmıyorsa, tool calling desteği güçlü olan yüklü bir model seçin (örneğin, bir Qwen-Coder veya DeepSeek-Coder varyantı).
360
+ :::
361
+
362
+ ---
363
+
364
+ ### Azure OpenAI
365
+
366
+ :::note
367
+ "Üzgünüm ama bu isteğe yardımcı olamıyorum" hatalarıyla karşılaşırsanız Azure kaynağınızda içerik filtresini **DefaultV2** yerine **Default** olarak değiştirmeyi deneyin.
368
+ :::
369
+
370
+ 1. [Azure portal](https://portal.azure.com/)'a gidin ve bir **Azure OpenAI** kaynağı oluşturun. İhtiyacınız olacak:
371
+ - **Kaynak adı**: Bu, API bitiş noktanızın (`https://RESOURCE_NAME.openai.azure.com/`) parçası olur
372
+ - **API anahtarı**: Kaynağınızdan `KEY 1` veya `KEY 2`
373
+
374
+ 2. [Azure AI Foundry](https://ai.azure.com/)'a gidin ve bir model dağıtın.
375
+
376
+ :::note
377
+ opencode'un düzgün çalışması için dağıtım adının model adıyla eşleşmesi gerekir.
378
+ :::
379
+
380
+ 3. `/connect` komutunu çalıştırın ve **Azure**'u arayın.
381
+
382
+ ```txt
383
+ /connect
384
+ ```
385
+
386
+ 4. API anahtarınızı girin.
387
+
388
+ ```txt
389
+ ┌ API key
390
+
391
+
392
+ └ enter
393
+ ```
394
+
395
+ 5. Kaynak adınızı ortam değişkeni olarak ayarlayın:
396
+
397
+ ```bash
398
+ AZURE_RESOURCE_NAME=XXX opencode
399
+ ```
400
+
401
+ Veya bash profilinize ekleyin:
402
+
403
+ ```bash title="~/.bash_profile"
404
+ export AZURE_RESOURCE_NAME=XXX
405
+ ```
406
+
407
+ 6. Dağıtılan modelinizi seçmek için `/models` komutunu çalıştırın.
408
+
409
+ ```txt
410
+ /models
411
+ ```
412
+
413
+ ---
414
+
415
+ ### Azure Cognitive Services
416
+
417
+ 1. [Azure portal](https://portal.azure.com/)'a gidin ve bir **Azure OpenAI** kaynağı oluşturun. İhtiyacınız olacak:
418
+ - **Kaynak adı**: Bu, API bitiş noktanızın (`https://AZURE_COGNITIVE_SERVICES_RESOURCE_NAME.cognitiveservices.azure.com/`) parçası olur
419
+ - **API anahtarı**: Kaynağınızdan `KEY 1` veya `KEY 2`
420
+
421
+ 2. [Azure AI Foundry](https://ai.azure.com/)'a gidin ve bir model dağıtın.
422
+
423
+ :::note
424
+ opencode'un düzgün çalışması için dağıtım adının model adıyla eşleşmesi gerekir.
425
+ :::
426
+
427
+ 3. `/connect` komutunu çalıştırın ve **Azure Cognitive Services**'i arayın.
428
+
429
+ ```txt
430
+ /connect
431
+ ```
432
+
433
+ 4. API anahtarınızı girin.
434
+
435
+ ```txt
436
+ ┌ API key
437
+
438
+
439
+ └ enter
440
+ ```
441
+
442
+ 5. Kaynak adınızı ortam değişkeni olarak ayarlayın:
443
+
444
+ ```bash
445
+ AZURE_COGNITIVE_SERVICES_RESOURCE_NAME=XXX opencode
446
+ ```
447
+
448
+ Veya bash profilinize ekleyin:
449
+
450
+ ```bash title="~/.bash_profile"
451
+ export AZURE_COGNITIVE_SERVICES_RESOURCE_NAME=XXX
452
+ ```
453
+
454
+ 6. Dağıtılan modelinizi seçmek için `/models` komutunu çalıştırın.
455
+
456
+ ```txt
457
+ /models
458
+ ```
459
+
460
+ ---
461
+
462
+ ### Baseten
463
+
464
+ 1. [Baseten](https://app.baseten.co/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
465
+
466
+ 2. `/connect` komutunu çalıştırın ve **Baseten**'i arayın.
467
+
468
+ ```txt
469
+ /connect
470
+ ```
471
+
472
+ 3. Baseten API anahtarınızı girin.
473
+
474
+ ```txt
475
+ ┌ API key
476
+
477
+
478
+ └ enter
479
+ ```
480
+
481
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
482
+
483
+ ```txt
484
+ /models
485
+ ```
486
+
487
+ ---
488
+
489
+ ### Cerebras
490
+
491
+ 1. [Cerebras console](https://inference.cerebras.ai/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
492
+
493
+ 2. `/connect` komutunu çalıştırın ve **Cerebras**'ı arayın.
494
+
495
+ ```txt
496
+ /connect
497
+ ```
498
+
499
+ 3. Cerebras API anahtarınızı girin.
500
+
501
+ ```txt
502
+ ┌ API key
503
+
504
+
505
+ └ enter
506
+ ```
507
+
508
+ 4. _Qwen 3 Coder 480B_ gibi bir model seçmek için `/models` komutunu çalıştırın.
509
+
510
+ ```txt
511
+ /models
512
+ ```
513
+
514
+ ---
515
+
516
+ ### Cloudflare AI Gateway
517
+
518
+ Cloudflare AI Gateway, OpenAI, Anthropic, Workers AI ve daha fazlasındaki modellere birleşik bir uç nokta aracılığıyla erişmenizi sağlar. [Unified Billing](https://developers.cloudflare.com/ai-gateway/features/unified-billing/) ile her sağlayıcı için ayrı API anahtarlarına ihtiyacınız yoktur.
519
+
520
+ 1. [Cloudflare dashboard](https://dash.cloudflare.com/)'a gidin, **AI** > **AI Ağ Geçidi**'ne gidin ve yeni bir ağ geçidi oluşturun.
521
+
522
+ 2. Hesap Kimliğinizi ve Ağ Geçidi Kimliğinizi ortam değişkenleri olarak ayarlayın.
523
+
524
+ ```bash title="~/.bash_profile"
525
+ export CLOUDFLARE_ACCOUNT_ID=your-32-character-account-id
526
+ export CLOUDFLARE_GATEWAY_ID=your-gateway-id
527
+ ```
528
+
529
+ 3. `/connect` komutunu çalıştırın ve **Cloudflare AI Gateway**'i arayın.
530
+
531
+ ```txt
532
+ /connect
533
+ ```
534
+
535
+ 4. Cloudflare API tokenınızı girin.
536
+
537
+ ```txt
538
+ ┌ API key
539
+
540
+
541
+ └ enter
542
+ ```
543
+
544
+ Veya bunu bir ortam değişkeni olarak ayarlayın.
545
+
546
+ ```bash title="~/.bash_profile"
547
+ export CLOUDFLARE_API_TOKEN=your-api-token
548
+ ```
549
+
550
+ 5. Bir model seçmek için `/models` komutunu çalıştırın.
551
+
552
+ ```txt
553
+ /models
554
+ ```
555
+
556
+ Opencode yapılandırmanız aracılığıyla da modeller ekleyebilirsiniz.
557
+
558
+ ```json title="opencode.json"
559
+ {
560
+ "$schema": "https://opencode.ai/config.json",
561
+ "provider": {
562
+ "cloudflare-ai-gateway": {
563
+ "models": {
564
+ "openai/gpt-4o": {},
565
+ "anthropic/claude-sonnet-4": {}
566
+ }
567
+ }
568
+ }
569
+ }
570
+ ```
571
+
572
+ ---
573
+
574
+ ### Cortecs
575
+
576
+ 1. [Cortecs console](https://cortecs.ai/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
577
+
578
+ 2. `/connect` komutunu çalıştırın ve **Cortecs**'i arayın.
579
+
580
+ ```txt
581
+ /connect
582
+ ```
583
+
584
+ 3. Cortecs API anahtarınızı girin.
585
+
586
+ ```txt
587
+ ┌ API key
588
+
589
+
590
+ └ enter
591
+ ```
592
+
593
+ 4. _Kimi K2 Instruct_ gibi bir model seçmek için `/models` komutunu çalıştırın.
594
+
595
+ ```txt
596
+ /models
597
+ ```
598
+
599
+ ---
600
+
601
+ ### DeepSeek
602
+
603
+ 1. [DeepSeek console](https://platform.deepseek.com/)'a gidin, bir hesap oluşturun ve **Yeni API anahtarı oluştur**'a tıklayın.
604
+
605
+ 2. `/connect` komutunu çalıştırın ve **DeepSeek**'i arayın.
606
+
607
+ ```txt
608
+ /connect
609
+ ```
610
+
611
+ 3. DeepSeek API anahtarınızı girin.
612
+
613
+ ```txt
614
+ ┌ API key
615
+
616
+
617
+ └ enter
618
+ ```
619
+
620
+ 4. _DeepSeek V4 Pro_ gibi bir DeepSeek modeli seçmek için `/models` komutunu çalıştırın.
621
+
622
+ ```txt
623
+ /models
624
+ ```
625
+
626
+ ---
627
+
628
+ ### Deep Infra
629
+
630
+ 1. [Deep Infra dashboard](https://deepinfra.com/dash) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
631
+
632
+ 2. `/connect` komutunu çalıştırın ve **Deep Infra**'yı arayın.
633
+
634
+ ```txt
635
+ /connect
636
+ ```
637
+
638
+ 3. Deep Infra API anahtarınızı girin.
639
+
640
+ ```txt
641
+ ┌ API key
642
+
643
+
644
+ └ enter
645
+ ```
646
+
647
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
648
+
649
+ ```txt
650
+ /models
651
+ ```
652
+
653
+ ---
654
+
655
+ ### FrogBot
656
+
657
+ 1. [FrogBot dashboard](https://app.frogbot.ai/signup) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
658
+
659
+ 2. `/connect` komutunu çalıştırın ve **FrogBot**'i arayın.
660
+
661
+ ```txt
662
+ /connect
663
+ ```
664
+
665
+ 3. FrogBot API anahtarınızı girin.
666
+
667
+ ```txt
668
+ ┌ API key
669
+
670
+
671
+ └ enter
672
+ ```
673
+
674
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
675
+
676
+ ```txt
677
+ /models
678
+ ```
679
+
680
+ ---
681
+
682
+ ### Fireworks AI
683
+
684
+ 1. [Fireworks AI console](https://app.fireworks.ai/)'a gidin, bir hesap oluşturun ve **API Anahtarı Oluştur**'a tıklayın.
685
+
686
+ 2. `/connect` komutunu çalıştırın ve **Fireworks AI**'yi arayın.
687
+
688
+ ```txt
689
+ /connect
690
+ ```
691
+
692
+ 3. Fireworks AI API anahtarınızı girin.
693
+
694
+ ```txt
695
+ ┌ API key
696
+
697
+
698
+ └ enter
699
+ ```
700
+
701
+ 4. _Kimi K2 Instruct_ gibi bir model seçmek için `/models` komutunu çalıştırın.
702
+
703
+ ```txt
704
+ /models
705
+ ```
706
+
707
+ ---
708
+
709
+ ### GitLab Duo
710
+
711
+ GitLab Duo, GitLab'ın Anthropic proxy'si aracılığıyla yerel araç çağırma yetenekleriyle yapay zeka destekli aracılı sohbet sağlar.
712
+
713
+ 1. `/connect` komutunu çalıştırın ve GitLab'ı seçin.
714
+
715
+ ```txt
716
+ /connect
717
+ ```
718
+
719
+ 2. Kimlik doğrulama yönteminizi seçin:
720
+
721
+ ```txt
722
+ ┌ Select auth method
723
+
724
+ │ OAuth (Recommended)
725
+ │ Personal Access Token
726
+
727
+ ```
728
+
729
+ #### OAuth Kullanımı (Önerilen)
730
+
731
+ **OAuth**'u seçtiğinizde tarayıcınız yetkilendirme için açılacaktır.
732
+
733
+ #### Kişisel Erişim Simgesini Kullanma
734
+ 1. Go to [GitLab User Settings > Access Tokens](https://gitlab.com/-/user_settings/personal_access_tokens)
735
+ 2. Click **Add new token**
736
+ 3. Name: `OpenCode`, Scopes: `api`
737
+ 4. Belirteci kopyalayın (`glpat-` ile başlar)
738
+ 5. Terminale girin
739
+
740
+ 3. Mevcut modelleri görmek için `/models` komutunu çalıştırın.
741
+
742
+ ```txt
743
+ /models
744
+ ```
745
+
746
+ Üç Claude tabanlı model mevcuttur:
747
+ - **duo-chat-haiku-4-5** (Varsayılan) - Hızlı görevler için hızlı yanıtlar
748
+ - **duo-chat-sonnet-4-5** - Çoğu iş akışı için dengeli performans
749
+ - **duo-chat-opus-4-5** - Karmaşık analizler için en yeteneklisi
750
+
751
+ :::note
752
+ İstemiyorsanız 'GITLAB_TOKEN' ortam değişkenini de belirtebilirsiniz.
753
+ to store token in opencode auth storage.
754
+ :::
755
+
756
+ ##### Kendi Kendine Barındırılan GitLab
757
+
758
+ :::note[uyumluluk notu]
759
+ opencode, oturum başlığını oluşturmak gibi bazı AI görevleri için küçük bir model kullanır.
760
+ Varsayılan olarak Zen tarafından barındırılan gpt-5-nano'yu kullanacak şekilde yapılandırılmıştır. opencode'u kilitlemek için
761
+ yalnızca kendi GitLab tarafından barındırılan örneğinizi kullanmak için aşağıdakileri ekleyin:
762
+ `opencode.json` dosyası. Ayrıca oturum paylaşımını devre dışı bırakmanız da önerilir.
763
+
764
+ ```json
765
+ {
766
+ "$schema": "https://opencode.ai/config.json",
767
+ "small_model": "gitlab/duo-chat-haiku-4-5",
768
+ "share": "disabled"
769
+ }
770
+ ```
771
+
772
+ :::
773
+
774
+ Şirket içinde barındırılan GitLab örnekleri için:
775
+
776
+ ```bash
777
+ export GITLAB_INSTANCE_URL=https://gitlab.company.com
778
+ export GITLAB_TOKEN=glpat-...
779
+ ```
780
+
781
+ Örneğiniz özel bir AI Ağ Geçidi çalıştırıyorsa:
782
+
783
+ ```bash
784
+ GITLAB_AI_GATEWAY_URL=https://ai-gateway.company.com
785
+ ```
786
+
787
+ Veya bash profilinize ekleyin:
788
+
789
+ ```bash title="~/.bash_profile"
790
+ export GITLAB_INSTANCE_URL=https://gitlab.company.com
791
+ export GITLAB_AI_GATEWAY_URL=https://ai-gateway.company.com
792
+ export GITLAB_TOKEN=glpat-...
793
+ ```
794
+
795
+ :::note
796
+ GitLab yöneticiniz aşağıdakileri etkinleştirmelidir:
797
+
798
+ 1. Kullanıcı, grup veya örnek için [Duo Agent Platform](https://docs.gitlab.com/user/duo_agent_platform/turn_on_off/)
799
+ 2. Feature flags (via Rails console):
800
+ - `agent_platform_claude_code`
801
+ - `third_party_agents_enabled`
802
+ :::
803
+
804
+ ##### Kendi Kendine Barındırılan örnekler için OAuth
805
+
806
+ Oauth'un kendi kendine barındırılan örneğiniz için çalışmasını sağlamak amacıyla
807
+ yeni bir uygulama (Ayarlar → Uygulamalar) ile
808
+ geri arama URL `http://127.0.0.1:8080/callback` ve aşağıdaki kapsamlar:
809
+
810
+ - api (Sizin adınıza API'a erişin)
811
+ - read_user (Kişisel bilgilerinizi okuyun)
812
+ - read_repository (Depoya salt okunur erişime izin verir)
813
+
814
+ Then expose application ID as environment variable:
815
+
816
+ ```bash
817
+ export GITLAB_OAUTH_CLIENT_ID=your_application_id_here
818
+ ```
819
+
820
+ Daha fazla belge [opencode-gitlab-auth](https://www.npmjs.com/package/opencode-gitlab-auth) ana sayfasında.
821
+
822
+ ##### Yapılandırma
823
+
824
+ `opencode.json` üzerinden özelleştirin:
825
+
826
+ ```json title="opencode.json"
827
+ {
828
+ "$schema": "https://opencode.ai/config.json",
829
+ "provider": {
830
+ "gitlab": {
831
+ "options": {
832
+ "instanceUrl": "https://gitlab.com"
833
+ }
834
+ }
835
+ }
836
+ }
837
+ ```
838
+
839
+ ##### GitLab API Araçları (İsteğe bağlı, ancak şiddetle önerilir)
840
+
841
+ GitLab araçlarına (birleştirme istekleri, sorunlar, işlem hatları, CI/CD vb.) erişmek için:
842
+
843
+ ```json title="opencode.json"
844
+ {
845
+ "$schema": "https://opencode.ai/config.json",
846
+ "plugin": ["opencode-gitlab-plugin"]
847
+ }
848
+ ```
849
+
850
+ Bu eklenti, MR incelemeleri, sorun izleme, işlem hattı izleme ve daha fazlasını içeren kapsamlı GitLab veri havuzu yönetimi yetenekleri sağlar.
851
+
852
+ ---
853
+
854
+ ### GitHub Copilot
855
+
856
+ GitHub Copilot aboneliğinizi opencode'la kullanmak için:
857
+
858
+ :::note
859
+ Bazı modelleri kullanmak için [Pro+ aboneliği](https://github.com/features/copilot/plans) gerekebilir.
860
+
861
+ Bazı modellerin [GitHub Copilot settings](https://docs.github.com/en/copilot/how-tos/use-ai-models/configure-access-to-ai-models#setup-for-individual-use)'da manuel olarak etkinleştirilmesi gerekir.
862
+ :::
863
+
864
+ 1. `/connect` komutunu çalıştırın ve GitHub Copilot'u arayın.
865
+
866
+ ```txt
867
+ /connect
868
+ ```
869
+
870
+ 2. [github.com/login/device](https://github.com/login/device)'a gidin ve kodu girin.
871
+
872
+ ```txt
873
+ ┌ Login with GitHub Copilot
874
+
875
+ │ https://github.com/login/device
876
+
877
+ │ Enter code: 8F43-6FCF
878
+
879
+ └ Waiting for authorization...
880
+ ```
881
+
882
+ 3. Şimdi istediğiniz modeli seçmek için `/models` komutunu çalıştırın.
883
+
884
+ ```txt
885
+ /models
886
+ ```
887
+
888
+ ---
889
+
890
+ ### Google Vertex AI
891
+
892
+ Google Vertex AI'yi opencode ile kullanmak için:
893
+
894
+ 1. Google Cloud Console'daki **Model Bahçesi**'ne gidin ve şunları kontrol edin:
895
+ Bölgenizde mevcut modeller.
896
+
897
+ :::note
898
+ Vertex AI API etkinleştirilmiş bir Google Cloud projenizin olması gerekir.
899
+ :::
900
+
901
+ 2. Gerekli ortam değişkenlerini ayarlayın:
902
+ - `GOOGLE_CLOUD_PROJECT`: Google Cloud proje kimliğiniz
903
+ - `VERTEX_LOCATION` (isteğe bağlı): Vertex AI bölgesi (varsayılanı `global`'dir)
904
+ - Kimlik Doğrulama (birini seçin):
905
+ - `GOOGLE_APPLICATION_CREDENTIALS`: Hizmet hesabınızın yolu JSON anahtar dosyası
906
+ - gcloud kullanarak kimlik doğrulaması yapın CLI: `gcloud auth application-default login`
907
+
908
+ Bunları opencode çalıştırılırken ayarlayın.
909
+
910
+ ```bash
911
+ GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json GOOGLE_CLOUD_PROJECT=your-project-id opencode
912
+ ```
913
+
914
+ Veya bunları bash profilinize ekleyin.
915
+
916
+ ```bash title="~/.bash_profile"
917
+ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
918
+ export GOOGLE_CLOUD_PROJECT=your-project-id
919
+ export VERTEX_LOCATION=global
920
+ ```
921
+
922
+ :::tip
923
+ `global` bölgesi, hiçbir ekstra maliyet olmaksızın kullanılabilirliği artırır ve hataları azaltır. Veri yerleşimi gereksinimleri için bölgesel uç noktaları (ör. `us-central1`) kullanın. [Daha fazla bilgi](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-partner-models#regional_and_global_endpoints)
924
+ :::
925
+
926
+ 3. İstediğiniz modeli seçmek için `/models` komutunu çalıştırın.
927
+
928
+ ```txt
929
+ /models
930
+ ```
931
+
932
+ ---
933
+
934
+ ### Groq
935
+
936
+ 1. [Groq console](https://console.groq.com/)'a gidin, **API Anahtarı Oluştur**'a tıklayın ve anahtarı kopyalayın.
937
+
938
+ 2. `/connect` komutunu çalıştırın ve Groq'u arayın.
939
+
940
+ ```txt
941
+ /connect
942
+ ```
943
+
944
+ 3. Sağlayıcının API anahtarını girin.
945
+
946
+ ```txt
947
+ ┌ API key
948
+
949
+
950
+ └ enter
951
+ ```
952
+
953
+ 4. İstediğinizi seçmek için `/models` komutunu çalıştırın.
954
+
955
+ ```txt
956
+ /models
957
+ ```
958
+
959
+ ---
960
+
961
+ ### Hugging Face
962
+
963
+ [Hugging Face Inference Providers](https://huggingface.co/docs/inference-providers) 17'den fazla sağlayıcı tarafından desteklenen açık modellere erişim sağlar.
964
+
965
+ 1. Çıkarım Sağlayıcılara çağrı yapma iznine sahip bir belirteç oluşturmak için [Hugging Face settings](https://huggingface.co/settings/tokens/new?ownUserPermissions=inference.serverless.write&tokenType=fineGrained) adresine gidin.
966
+
967
+ 2. `/connect` komutunu çalıştırın ve **Hugging Face**'i arayın.
968
+
969
+ ```txt
970
+ /connect
971
+ ```
972
+
973
+ 3. Hugging Face tokenınızı girin.
974
+
975
+ ```txt
976
+ ┌ API key
977
+
978
+
979
+ └ enter
980
+ ```
981
+
982
+ 4. _Kimi-K2-Instruct_ veya _GLM-4.6_ gibi bir model seçmek için `/models` komutunu çalıştırın.
983
+
984
+ ```txt
985
+ /models
986
+ ```
987
+
988
+ ---
989
+
990
+ ### Helicone
991
+
992
+ [Helicone](https://helicone.ai), AI uygulamalarınız için günlük kaydı, izleme ve analiz sağlayan bir LLM gözlemlenebilirlik platformudur. Helicone AI Gateway, taleplerinizi modele göre otomatik olarak uygun sağlayıcıya yönlendirir.
993
+
994
+ 1. [Helicone](https://helicone.ai) adresine gidin, bir hesap oluşturun ve kontrol panelinizden bir API anahtarı oluşturun.
995
+
996
+ 2. `/connect` komutunu çalıştırın ve **Helicone**'yu arayın.
997
+
998
+ ```txt
999
+ /connect
1000
+ ```
1001
+
1002
+ 3. Helicone API anahtarınızı girin.
1003
+
1004
+ ```txt
1005
+ ┌ API key
1006
+
1007
+
1008
+ └ enter
1009
+ ```
1010
+
1011
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
1012
+
1013
+ ```txt
1014
+ /models
1015
+ ```
1016
+
1017
+ Daha fazla sağlayıcı ve önbelleğe alma ve hız sınırlama gibi gelişmiş özellikler için [Helicone documentation](https://docs.helicone.ai)'yi kontrol edin.
1018
+
1019
+ #### İsteğe Bağlı Yapılandırmalar
1020
+
1021
+ Helicone'un opencode aracılığıyla otomatik olarak yapılandırılmayan bir özelliği veya modelini görmeniz durumunda bunu her zaman kendiniz yapılandırabilirsiniz.
1022
+
1023
+ İşte [Helicone's Model Directory](https://helicone.ai/models), eklemek istediğiniz modellerin kimliklerini almak için buna ihtiyacınız olacak.
1024
+
1025
+ ```jsonc title="~/.config/opencode/opencode.jsonc"
1026
+ {
1027
+ "$schema": "https://opencode.ai/config.json",
1028
+ "provider": {
1029
+ "helicone": {
1030
+ "npm": "@ai-sdk/openai-compatible",
1031
+ "name": "Helicone",
1032
+ "options": {
1033
+ "baseURL": "https://ai-gateway.helicone.ai",
1034
+ },
1035
+ "models": {
1036
+ "gpt-4o": {
1037
+ // Model ID (from Helicone's model directory page)
1038
+ "name": "GPT-4o", // Your own custom name for the model
1039
+ },
1040
+ "claude-sonnet-4-20250514": {
1041
+ "name": "Claude Sonnet 4",
1042
+ },
1043
+ },
1044
+ },
1045
+ },
1046
+ }
1047
+ ```
1048
+
1049
+ #### Özel Başlıklar
1050
+
1051
+ Helicone, önbelleğe alma, kullanıcı izleme ve oturum yönetimi gibi özellikler için özel başlıkları destekler. `options.headers` kullanarak bunları sağlayıcınızın yapılandırmasına ekleyin:
1052
+
1053
+ ```jsonc title="~/.config/opencode/opencode.jsonc"
1054
+ {
1055
+ "$schema": "https://opencode.ai/config.json",
1056
+ "provider": {
1057
+ "helicone": {
1058
+ "npm": "@ai-sdk/openai-compatible",
1059
+ "name": "Helicone",
1060
+ "options": {
1061
+ "baseURL": "https://ai-gateway.helicone.ai",
1062
+ "headers": {
1063
+ "Helicone-Cache-Enabled": "true",
1064
+ "Helicone-User-Id": "opencode",
1065
+ },
1066
+ },
1067
+ },
1068
+ },
1069
+ }
1070
+ ```
1071
+
1072
+ ##### Oturum izleme
1073
+
1074
+ Helicone'un [Sessions](https://docs.helicone.ai/features/sessions) özelliği, ilgili LLM isteklerini birlikte gruplandırmanıza olanak tanır. Her opencode görüşmesini Helicone'da bir oturum olarak otomatik olarak kaydetmek için [opencode-helicone-session](https://github.com/H2Shami/opencode-helicone-session) eklentisini kullanın.
1075
+
1076
+ ```bash
1077
+ npm install -g opencode-helicone-session
1078
+ ```
1079
+
1080
+ Yapılandırmanıza ekleyin.
1081
+
1082
+ ```json title="opencode.json"
1083
+ {
1084
+ "plugin": ["opencode-helicone-session"]
1085
+ }
1086
+ ```
1087
+
1088
+ Eklenti isteklerinize `Helicone-Session-Id` ve `Helicone-Session-Name` başlıklarını enjekte eder. Helicone'un Oturumlar sayfasında her opencode görüşmesinin ayrı bir oturum olarak listelendiğini göreceksiniz.
1089
+
1090
+ ##### Yaygın Helicone başlıkları
1091
+
1092
+ | Başlık | Açıklama |
1093
+ | -------------------------- | ------------------------------------------------------------- |
1094
+ | `Helicone-Cache-Enabled` | Enable response caching (`true`/`false`) |
1095
+ | `Helicone-User-Id` | Track metrics by user |
1096
+ | `Helicone-Property-[Name]` | Add custom properties (e.g., `Helicone-Property-Environment`) |
1097
+ | `Helicone-Prompt-Id` | İstekleri bilgi istemi sürümleriyle ilişkilendirin |
1098
+
1099
+ Mevcut tüm başlıklar için [Helicone Header Directory](https://docs.helicone.ai/helicone-headers/header-directory)'a bakın.
1100
+
1101
+ ---
1102
+
1103
+ ### llama.cpp
1104
+
1105
+ opencode'u yerel modelleri kullanacak şekilde [llama.cpp's](https://github.com/ggml-org/llama.cpp) llama-server yardımcı programını kullanarak yapılandırabilirsiniz.
1106
+
1107
+ ```json title="opencode.json" "llama.cpp" {5, 6, 8, 10-15}
1108
+ {
1109
+ "$schema": "https://opencode.ai/config.json",
1110
+ "provider": {
1111
+ "llama.cpp": {
1112
+ "npm": "@ai-sdk/openai-compatible",
1113
+ "name": "llama-server (local)",
1114
+ "options": {
1115
+ "baseURL": "http://127.0.0.1:8080/v1"
1116
+ },
1117
+ "models": {
1118
+ "qwen3-coder:a3b": {
1119
+ "name": "Qwen3-Coder: a3b-30b (local)",
1120
+ "limit": {
1121
+ "context": 128000,
1122
+ "output": 65536
1123
+ }
1124
+ }
1125
+ }
1126
+ }
1127
+ }
1128
+ }
1129
+ ```
1130
+
1131
+ Bu örnekte:
1132
+
1133
+ - `llama.cpp` özel sağlayıcı kimliğidir. Bu istediğiniz herhangi bir dize olabilir.
1134
+ - `npm` bu sağlayıcı için kullanılacak paketi belirtir. Burada `@ai-sdk/openai-compatible`, herhangi bir OpenAI uyumlu API için kullanılır.
1135
+ - `name` sağlayıcının kullanıcı arayüzündeki görünen adıdır.
1136
+ - `options.baseURL` yerel sunucunun uç noktasıdır.
1137
+ - `models` model kimliklerinin konfigürasyonlarına ait bir haritasıdır. Model adı, model seçim listesinde görüntülenecektir.
1138
+
1139
+ ---
1140
+
1141
+ ### IO.NET
1142
+
1143
+ IO.NET, çeşitli kullanım durumları için optimize edilmiş 17 model sunar:
1144
+
1145
+ 1. [IO.NET console](https://ai.io.net/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
1146
+
1147
+ 2. `/connect` komutunu çalıştırın ve **IO.NET** öğesini arayın.
1148
+
1149
+ ```txt
1150
+ /connect
1151
+ ```
1152
+
1153
+ 3. IO.NET API anahtarınızı girin.
1154
+
1155
+ ```txt
1156
+ ┌ API key
1157
+
1158
+
1159
+ └ enter
1160
+ ```
1161
+
1162
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
1163
+
1164
+ ```txt
1165
+ /models
1166
+ ```
1167
+
1168
+ ---
1169
+
1170
+ ### LM Studio
1171
+
1172
+ LM Studio aracılığıyla opencode'u yerel modelleri kullanacak şekilde yapılandırabilirsiniz.
1173
+
1174
+ ```json title="opencode.json" "lmstudio" {5, 6, 8, 10-14}
1175
+ {
1176
+ "$schema": "https://opencode.ai/config.json",
1177
+ "provider": {
1178
+ "lmstudio": {
1179
+ "npm": "@ai-sdk/openai-compatible",
1180
+ "name": "LM Studio (local)",
1181
+ "options": {
1182
+ "baseURL": "http://127.0.0.1:1234/v1"
1183
+ },
1184
+ "models": {
1185
+ "google/gemma-3n-e4b": {
1186
+ "name": "Gemma 3n-e4b (local)"
1187
+ }
1188
+ }
1189
+ }
1190
+ }
1191
+ }
1192
+ ```
1193
+
1194
+ Bu örnekte:
1195
+
1196
+ - `lmstudio` özel sağlayıcı kimliğidir. Bu istediğiniz herhangi bir dize olabilir.
1197
+ - `npm` bu sağlayıcı için kullanılacak paketi belirtir. Burada `@ai-sdk/openai-compatible`, herhangi bir OpenAI uyumlu API için kullanılır.
1198
+ - `name` sağlayıcının kullanıcı arayüzündeki görünen adıdır.
1199
+ - `options.baseURL` yerel sunucunun uç noktasıdır.
1200
+ - `models` model kimliklerinin konfigürasyonlarına ait bir haritasıdır. Model adı, model seçim listesinde görüntülenecektir.
1201
+
1202
+ ---
1203
+
1204
+ ### Moonshot AI
1205
+
1206
+ Moonshot AI'dan Kimi K2'yi kullanmak için:
1207
+
1208
+ 1. [Moonshot AI console](https://platform.moonshot.ai/console)'a gidin, bir hesap oluşturun ve **API anahtarı oluştur**'a tıklayın.
1209
+
1210
+ 2. `/connect` komutunu çalıştırın ve **Moonshot AI**'yi arayın.
1211
+
1212
+ ```txt
1213
+ /connect
1214
+ ```
1215
+
1216
+ 3. Moonshot API anahtarınızı girin.
1217
+
1218
+ ```txt
1219
+ ┌ API key
1220
+
1221
+
1222
+ └ enter
1223
+ ```
1224
+
1225
+ 4. _Kimi K2_ seçmek için `/models` komutunu çalıştırın.
1226
+
1227
+ ```txt
1228
+ /models
1229
+ ```
1230
+
1231
+ ---
1232
+
1233
+ ### MiniMax
1234
+
1235
+ 1. [MiniMax API Console](https://platform.minimax.io/login) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
1236
+
1237
+ 2. `/connect` komutunu çalıştırın ve **MiniMax**'ı arayın.
1238
+
1239
+ ```txt
1240
+ /connect
1241
+ ```
1242
+
1243
+ 3. MiniMax API anahtarınızı girin.
1244
+
1245
+ ```txt
1246
+ ┌ API key
1247
+
1248
+
1249
+ └ enter
1250
+ ```
1251
+
1252
+ 4. _M2.1_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1253
+
1254
+ ```txt
1255
+ /models
1256
+ ```
1257
+
1258
+ ---
1259
+
1260
+ ### Nebius Token Factory
1261
+
1262
+ 1. [Nebius Token Factory console](https://tokenfactory.nebius.com/)'a gidin, bir hesap oluşturun ve **Anahtar Ekle**'ye tıklayın.
1263
+
1264
+ 2. `/connect` komutunu çalıştırın ve **Nebius Token Factory**'yi arayın.
1265
+
1266
+ ```txt
1267
+ /connect
1268
+ ```
1269
+
1270
+ 3. Nebius Token Factory API anahtarınızı girin.
1271
+
1272
+ ```txt
1273
+ ┌ API key
1274
+
1275
+
1276
+ └ enter
1277
+ ```
1278
+
1279
+ 4. _Kimi K2 Instruct_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1280
+
1281
+ ```txt
1282
+ /models
1283
+ ```
1284
+
1285
+ ---
1286
+
1287
+ ### Ollama
1288
+
1289
+ Ollama aracılığıyla opencode'u yerel modelleri kullanacak şekilde yapılandırabilirsiniz.
1290
+
1291
+ :::tip
1292
+ Ollama kendisini opencode için otomatik olarak yapılandırabilir. Ayrıntılar için [Ollama integration docs](https://docs.ollama.com/integrations/opencode)'a bakın.
1293
+ :::
1294
+
1295
+ ```json title="opencode.json" "ollama" {5, 6, 8, 10-14}
1296
+ {
1297
+ "$schema": "https://opencode.ai/config.json",
1298
+ "provider": {
1299
+ "ollama": {
1300
+ "npm": "@ai-sdk/openai-compatible",
1301
+ "name": "Ollama (local)",
1302
+ "options": {
1303
+ "baseURL": "http://localhost:11434/v1"
1304
+ },
1305
+ "models": {
1306
+ "llama2": {
1307
+ "name": "Llama 2"
1308
+ }
1309
+ }
1310
+ }
1311
+ }
1312
+ }
1313
+ ```
1314
+
1315
+ Bu örnekte:
1316
+
1317
+ - `ollama` özel sağlayıcı kimliğidir. Bu istediğiniz herhangi bir dize olabilir.
1318
+ - `npm` bu sağlayıcı için kullanılacak paketi belirtir. Burada `@ai-sdk/openai-compatible`, herhangi bir OpenAI uyumlu API için kullanılır.
1319
+ - `name` sağlayıcının kullanıcı arayüzündeki görünen adıdır.
1320
+ - `options.baseURL` yerel sunucunun uç noktasıdır.
1321
+ - `models` model kimliklerinin konfigürasyonlarına ait bir haritasıdır. Model adı, model seçim listesinde görüntülenecektir.
1322
+
1323
+ :::tip
1324
+ Araç çağrıları çalışmıyorsa Ollama'da `num_ctx` değerini artırmayı deneyin. 16k - 32k civarında başlayın.
1325
+ :::
1326
+
1327
+ ---
1328
+
1329
+ ### Ollama Cloud
1330
+
1331
+ Ollama Cloud'u opencode ile kullanmak için:
1332
+
1333
+ 1. [https://ollama.com/](https://ollama.com/) adresine gidin ve oturum açın veya bir hesap oluşturun.
1334
+
1335
+ 2. **Ayarlar** > **Anahtarlar**'a gidin ve yeni bir API anahtarı oluşturmak için **API Anahtarı Ekle**'yi tıklayın.
1336
+
1337
+ 3. opencode'da kullanmak için API anahtarını kopyalayın.
1338
+
1339
+ 4. `/connect` komutunu çalıştırın ve **Ollama Cloud**'u arayın.
1340
+
1341
+ ```txt
1342
+ /connect
1343
+ ```
1344
+
1345
+ 5. Ollama Cloud API anahtarınızı girin.
1346
+
1347
+ ```txt
1348
+ ┌ API key
1349
+
1350
+
1351
+ └ enter
1352
+ ```
1353
+
1354
+ 6. **Önemli**: opencode'da bulut modellerini kullanmadan önce model bilgilerini yerel olarak almanız gerekir:
1355
+
1356
+ ```bash
1357
+ ollama pull gpt-oss:20b-cloud
1358
+ ```
1359
+
1360
+ 7. Ollama Cloud modelinizi seçmek için `/models` komutunu çalıştırın.
1361
+
1362
+ ```txt
1363
+ /models
1364
+ ```
1365
+
1366
+ ---
1367
+
1368
+ ### OpenAI
1369
+
1370
+ [ChatGPT Plus or Pro](https://chatgpt.com/pricing)'a kaydolmanızı öneririz.
1371
+
1372
+ 1. Kaydolduktan sonra `/connect` komutunu çalıştırın ve OpenAI'yi seçin.
1373
+
1374
+ ```txt
1375
+ /connect
1376
+ ```
1377
+
1378
+ 2. Burada **ChatGPT Plus/Pro** seçeneğini seçebilirsiniz, tarayıcınız açılacaktır.
1379
+ ve sizden kimlik doğrulamanızı isteyeceğiz.
1380
+
1381
+ ```txt
1382
+ ┌ Select auth method
1383
+
1384
+ │ ChatGPT Plus/Pro
1385
+ │ Manually enter API Key
1386
+
1387
+ ```
1388
+
1389
+ 3. Artık `/models` komutunu kullandığınızda tüm OpenAI modelleri mevcut olmalıdır.
1390
+
1391
+ ```txt
1392
+ /models
1393
+ ```
1394
+
1395
+ ##### API anahtarlarını kullanma
1396
+
1397
+ Zaten bir API anahtarınız varsa, **API Anahtarını Manuel Olarak Girin** seçeneğini seçip terminalinize yapıştırabilirsiniz.
1398
+
1399
+ ---
1400
+
1401
+ ### OpenCode Zen
1402
+
1403
+ OpenCode Zen, opencode ekibinin test edip doğruladığı modellerin bir listesidir. [Daha fazla bilgi](/docs/zen).
1404
+
1405
+ 1. **<a href={console}>OpenCode Zen</a>**'de oturum açın ve **API Anahtarı Oluştur**'u tıklayın.
1406
+
1407
+ 2. `/connect` komutunu çalıştırın ve **OpenCode Zen**'i arayın.
1408
+
1409
+ ```txt
1410
+ /connect
1411
+ ```
1412
+
1413
+ 3. opencode API anahtarınızı girin.
1414
+
1415
+ ```txt
1416
+ ┌ API key
1417
+
1418
+
1419
+ └ enter
1420
+ ```
1421
+
1422
+ 4. _Qwen 3 Coder 480B_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1423
+
1424
+ ```txt
1425
+ /models
1426
+ ```
1427
+
1428
+ ---
1429
+
1430
+ ### OpenRouter
1431
+
1432
+ 1. [OpenRouter dashboard](https://openrouter.ai/settings/keys)'a gidin, **API Anahtarı Oluştur**'a tıklayın ve anahtarı kopyalayın.
1433
+
1434
+ 2. `/connect` komutunu çalıştırın ve OpenRouter'ı arayın.
1435
+
1436
+ ```txt
1437
+ /connect
1438
+ ```
1439
+
1440
+ 3. Sağlayıcının API anahtarını girin.
1441
+
1442
+ ```txt
1443
+ ┌ API key
1444
+
1445
+
1446
+ └ enter
1447
+ ```
1448
+
1449
+ 4. Birçok OpenRouter modeli varsayılan olarak önceden yüklenmiştir; istediğiniz modeli seçmek için `/models` komutunu çalıştırın.
1450
+
1451
+ ```txt
1452
+ /models
1453
+ ```
1454
+
1455
+ opencode yapılandırmanız aracılığıyla ek modeller de ekleyebilirsiniz.
1456
+
1457
+ ```json title="opencode.json" {6}
1458
+ {
1459
+ "$schema": "https://opencode.ai/config.json",
1460
+ "provider": {
1461
+ "openrouter": {
1462
+ "models": {
1463
+ "somecoolnewmodel": {}
1464
+ }
1465
+ }
1466
+ }
1467
+ }
1468
+ ```
1469
+
1470
+ 5. Bunları ayrıca opencode yapılandırmanız aracılığıyla da özelleştirebilirsiniz. Burada bir sağlayıcı belirtmeye ilişkin bir örnek verilmiştir
1471
+
1472
+ ```json title="opencode.json"
1473
+ {
1474
+ "$schema": "https://opencode.ai/config.json",
1475
+ "provider": {
1476
+ "openrouter": {
1477
+ "models": {
1478
+ "moonshotai/kimi-k2": {
1479
+ "options": {
1480
+ "provider": {
1481
+ "order": ["baseten"],
1482
+ "allow_fallbacks": false
1483
+ }
1484
+ }
1485
+ }
1486
+ }
1487
+ }
1488
+ }
1489
+ }
1490
+ ```
1491
+
1492
+ ---
1493
+
1494
+ ### SAP AI Core
1495
+
1496
+ SAP AI Core, birleşik bir platform aracılığıyla OpenAI, Anthropic, Google, Amazon, Meta, Mistral ve AI21'den 40'tan fazla modele erişim sağlar.
1497
+
1498
+ 1. [SAP BTP Cockpit](https://account.hana.ondemand.com/) sunucunuza gidin, SAP AI Core hizmet örneğinize gidin ve bir hizmet anahtarı oluşturun.
1499
+
1500
+ :::tip
1501
+ Hizmet anahtarı, `clientid`, `clientsecret`, `url` ve `serviceurls.AI_API_URL` içeren bir JSON nesnesidir. AI Core örneğinizi BTP Kokpitinde **Hizmetler** > **Örnekler ve Abonelikler** altında bulabilirsiniz.
1502
+ :::
1503
+
1504
+ 2. `/connect` komutunu çalıştırın ve **SAP AI Core** arayın.
1505
+
1506
+ ```txt
1507
+ /connect
1508
+ ```
1509
+
1510
+ 3. Servis anahtarınızı JSON girin.
1511
+
1512
+ ```txt
1513
+ ┌ Service key
1514
+
1515
+
1516
+ └ enter
1517
+ ```
1518
+
1519
+ Veya `AICORE_SERVICE_KEY` ortam değişkenini ayarlayın:
1520
+
1521
+ ```bash
1522
+ AICORE_SERVICE_KEY='{"clientid":"...","clientsecret":"...","url":"...","serviceurls":{"AI_API_URL":"..."}}' opencode
1523
+ ```
1524
+
1525
+ Veya bash profilinize ekleyin:
1526
+
1527
+ ```bash title="~/.bash_profile"
1528
+ export AICORE_SERVICE_KEY='{"clientid":"...","clientsecret":"...","url":"...","serviceurls":{"AI_API_URL":"..."}}'
1529
+ ```
1530
+
1531
+ 4. İsteğe bağlı olarak dağıtım kimliğini ve kaynak grubunu ayarlayın:
1532
+
1533
+ ```bash
1534
+ AICORE_DEPLOYMENT_ID=your-deployment-id AICORE_RESOURCE_GROUP=your-resource-group opencode
1535
+ ```
1536
+
1537
+ :::note
1538
+ Bu ayarlar isteğe bağlıdır ve SAP AI Core kurulumunuza göre yapılandırılmalıdır.
1539
+ :::
1540
+
1541
+ 5. 40'tan fazla mevcut model arasından seçim yapmak için `/models` komutunu çalıştırın.
1542
+
1543
+ ```txt
1544
+ /models
1545
+ ```
1546
+
1547
+ ---
1548
+
1549
+ ### STACKIT
1550
+
1551
+ STACKIT AI Model Serving, Llama, Mistral ve Qwen gibi LLM'lere odaklanarak, Avrupa altyapısında maksimum veri egemenliğine sahip AI modelleri için tam olarak yönetilen bağımsız barındırma ortamı sağlar.
1552
+
1553
+ 1. [STACKIT Portal](https://portal.stackit.cloud) adresine gidin, **AI Model Serving**'e gidin ve projeniz için bir yetkilendirme belirteci oluşturun.
1554
+
1555
+ :::tip
1556
+ Yetkilendirme belirteçleri oluşturmadan önce bir STACKIT müşteri hesabına, kullanıcı hesabına ve projesine ihtiyacınız vardır.
1557
+ :::
1558
+
1559
+ 2. `/connect` komutunu çalıştırın ve **STACKIT**'i arayın.
1560
+
1561
+ ```txt
1562
+ /connect
1563
+ ```
1564
+
1565
+ 3. STACKIT AI Model Serving yetkilendirme belirtecinizi girin.
1566
+
1567
+ ```txt
1568
+ ┌ API key
1569
+
1570
+
1571
+ └ enter
1572
+ ```
1573
+
1574
+ 4. _Qwen3-VL 235B_ veya _Llama 3.3 70B_ gibi mevcut modellerden seçim yapmak için `/models` komutunu çalıştırın.
1575
+
1576
+ ```txt
1577
+ /models
1578
+ ```
1579
+
1580
+ ---
1581
+
1582
+ ### OVHcloud AI Endpoints
1583
+
1584
+ 1. [OVHcloud panel](https://ovh.com/manager)'a gidin. `Public Cloud` bölümüne gidin, `AI & Machine Learning` > `AI Endpoints` ve `API Keys` sekmesinde **Yeni bir API anahtarı oluştur**'u tıklayın.
1585
+
1586
+ 2. `/connect` komutunu çalıştırın ve **OVHcloud AI Endpoints**'i arayın.
1587
+
1588
+ ```txt
1589
+ /connect
1590
+ ```
1591
+
1592
+ 3. OVHcloud AI Uç Noktaları API anahtarınızı girin.
1593
+
1594
+ ```txt
1595
+ ┌ API key
1596
+
1597
+
1598
+ └ enter
1599
+ ```
1600
+
1601
+ 4. _gpt-oss-120b_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1602
+
1603
+ ```txt
1604
+ /models
1605
+ ```
1606
+
1607
+ ---
1608
+
1609
+ ### Scaleway
1610
+
1611
+ [Scaleway Generative APIs](https://www.scaleway.com/en/docs/generative-apis/)'yi Opencode ile kullanmak için:
1612
+
1613
+ 1. Yeni bir API anahtarı oluşturmak için [Scaleway Console IAM settings](https://console.scaleway.com/iam/api-keys)'a gidin.
1614
+
1615
+ 2. `/connect` komutunu çalıştırın ve **Scaleway**'i arayın.
1616
+
1617
+ ```txt
1618
+ /connect
1619
+ ```
1620
+
1621
+ 3. Scaleway API anahtarınızı girin.
1622
+
1623
+ ```txt
1624
+ ┌ API key
1625
+
1626
+
1627
+ └ enter
1628
+ ```
1629
+
1630
+ 4. _devstral-2-123b-instruct-2512_ veya _gpt-oss-120b_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1631
+
1632
+ ```txt
1633
+ /models
1634
+ ```
1635
+
1636
+ ---
1637
+
1638
+ ### Together AI
1639
+
1640
+ 1. [Together AI console](https://api.together.ai)'a gidin, bir hesap oluşturun ve **Anahtar Ekle**'ye tıklayın.
1641
+
1642
+ 2. `/connect` komutunu çalıştırın ve **Together AI**'yi arayın.
1643
+
1644
+ ```txt
1645
+ /connect
1646
+ ```
1647
+
1648
+ 3. Together AI API anahtarınızı girin.
1649
+
1650
+ ```txt
1651
+ ┌ API key
1652
+
1653
+
1654
+ └ enter
1655
+ ```
1656
+
1657
+ 4. _Kimi K2 Instruct_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1658
+
1659
+ ```txt
1660
+ /models
1661
+ ```
1662
+
1663
+ ---
1664
+
1665
+ ### Venice AI
1666
+
1667
+ 1. [Venice AI console](https://venice.ai) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
1668
+
1669
+ 2. `/connect` komutunu çalıştırın ve **Venice AI**'yi arayın.
1670
+
1671
+ ```txt
1672
+ /connect
1673
+ ```
1674
+
1675
+ 3. Venice AI API anahtarınızı girin.
1676
+
1677
+ ```txt
1678
+ ┌ API key
1679
+
1680
+
1681
+ └ enter
1682
+ ```
1683
+
1684
+ 4. _Llama 3.3 70B_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1685
+
1686
+ ```txt
1687
+ /models
1688
+ ```
1689
+
1690
+ ---
1691
+
1692
+ ### Vercel AI Gateway
1693
+
1694
+ Vercel AI Gateway, OpenAI, Anthropic, Google, xAI ve daha fazlasındaki modellere birleşik bir uç nokta aracılığıyla erişmenizi sağlar. Modeller herhangi bir fark olmadan liste fiyatıyla sunulmaktadır.
1695
+
1696
+ 1. [Vercel dashboard](https://vercel.com/)'a gidin, **AI Ağ Geçidi** sekmesine gidin ve yeni bir API anahtarı oluşturmak için **API anahtarlarına** tıklayın.
1697
+
1698
+ 2. `/connect` komutunu çalıştırın ve **Vercel AI Gateway**'i arayın.
1699
+
1700
+ ```txt
1701
+ /connect
1702
+ ```
1703
+
1704
+ 3. Vercel AI Gateway API anahtarınızı girin.
1705
+
1706
+ ```txt
1707
+ ┌ API key
1708
+
1709
+
1710
+ └ enter
1711
+ ```
1712
+
1713
+ 4. Bir model seçmek için `/models` komutunu çalıştırın.
1714
+
1715
+ ```txt
1716
+ /models
1717
+ ```
1718
+
1719
+ Modelleri opencode yapılandırmanız aracılığıyla da özelleştirebilirsiniz. Sağlayıcı yönlendirme sırasını belirtmeye ilişkin bir örneği burada bulabilirsiniz.
1720
+
1721
+ ```json title="opencode.json"
1722
+ {
1723
+ "$schema": "https://opencode.ai/config.json",
1724
+ "provider": {
1725
+ "vercel": {
1726
+ "models": {
1727
+ "anthropic/claude-sonnet-4": {
1728
+ "options": {
1729
+ "order": ["anthropic", "vertex"]
1730
+ }
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ }
1736
+ ```
1737
+
1738
+ Bazı yararlı yönlendirme seçenekleri:
1739
+
1740
+ | Seçenek | Açıklama |
1741
+ | ------------------- | --------------------------------------------------------------------- |
1742
+ | `order` | Denenecek sağlayıcı sırası |
1743
+ | `only` | Belirli sağlayıcılarla sınırla |
1744
+ | `zeroDataRetention` | Yalnızca sıfır veri saklama politikasına sahip sağlayıcıları kullanın |
1745
+
1746
+ ---
1747
+
1748
+ ### xAI
1749
+
1750
+ 1. [xAI console](https://console.x.ai/) adresine gidin, bir hesap oluşturun ve bir API anahtarı oluşturun.
1751
+
1752
+ 2. `/connect` komutunu çalıştırın ve **xAI**'yi arayın.
1753
+
1754
+ ```txt
1755
+ /connect
1756
+ ```
1757
+
1758
+ 3. xAI API anahtarınızı girin.
1759
+
1760
+ ```txt
1761
+ ┌ API key
1762
+
1763
+
1764
+ └ enter
1765
+ ```
1766
+
1767
+ 4. _Grok Beta_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1768
+
1769
+ ```txt
1770
+ /models
1771
+ ```
1772
+
1773
+ ---
1774
+
1775
+ ### Z.AI
1776
+
1777
+ 1. [Z.AI API console](https://z.ai/manage-apikey/apikey-list)'a gidin, bir hesap oluşturun ve **Yeni bir API anahtarı oluştur**'a tıklayın.
1778
+
1779
+ 2. `/connect` komutunu çalıştırın ve **Z.AI**'yi arayın.
1780
+
1781
+ ```txt
1782
+ /connect
1783
+ ```
1784
+
1785
+ **GLM Kodlama Planı**'na aboneyseniz **Z.AI Kodlama Planı**'nı seçin.
1786
+
1787
+ 3. Z.AI API anahtarınızı girin.
1788
+
1789
+ ```txt
1790
+ ┌ API key
1791
+
1792
+
1793
+ └ enter
1794
+ ```
1795
+
1796
+ 4. _GLM-4.7_ gibi bir model seçmek için `/models` komutunu çalıştırın.
1797
+
1798
+ ```txt
1799
+ /models
1800
+ ```
1801
+
1802
+ ---
1803
+
1804
+ ### ZenMux
1805
+
1806
+ 1. [ZenMux dashboard](https://zenmux.ai/settings/keys)'a gidin, **API Anahtarı Oluştur**'a tıklayın ve anahtarı kopyalayın.
1807
+
1808
+ 2. `/connect` komutunu çalıştırın ve ZenMux'u arayın.
1809
+
1810
+ ```txt
1811
+ /connect
1812
+ ```
1813
+
1814
+ 3. Sağlayıcının API anahtarını girin.
1815
+
1816
+ ```txt
1817
+ ┌ API key
1818
+
1819
+
1820
+ └ enter
1821
+ ```
1822
+
1823
+ 4. Çoğu ZenMux modeli varsayılan olarak önceden yüklenmiştir; istediğinizi seçmek için `/models` komutunu çalıştırın.
1824
+
1825
+ ```txt
1826
+ /models
1827
+ ```
1828
+
1829
+ opencode yapılandırmanız aracılığıyla ek modeller de ekleyebilirsiniz.
1830
+
1831
+ ```json title="opencode.json" {6}
1832
+ {
1833
+ "$schema": "https://opencode.ai/config.json",
1834
+ "provider": {
1835
+ "zenmux": {
1836
+ "models": {
1837
+ "somecoolnewmodel": {}
1838
+ }
1839
+ }
1840
+ }
1841
+ }
1842
+ ```
1843
+
1844
+ ---
1845
+
1846
+ ## Özel sağlayıcı
1847
+
1848
+ `/connect` komutunda listelenmeyen herhangi bir **OpenAI uyumlu** sağlayıcıyı eklemek için:
1849
+
1850
+ :::tip
1851
+ OpenAI uyumlu herhangi bir sağlayıcıyı opencode ile kullanabilirsiniz. Çoğu modern yapay zeka sağlayıcısı OpenAI uyumlu API'ler sunar.
1852
+ :::
1853
+
1854
+ 1. `/connect` komutunu çalıştırın ve **Diğer** seçeneğine ilerleyin.
1855
+
1856
+ ```bash
1857
+ $ /connect
1858
+
1859
+ ┌ Add credential
1860
+
1861
+ ◆ Select provider
1862
+ │ ...
1863
+ │ ● Other
1864
+
1865
+ ```
1866
+
1867
+ 2. Sağlayıcı için benzersiz bir kimlik girin.
1868
+
1869
+ ```bash
1870
+ $ /connect
1871
+
1872
+ ┌ Add credential
1873
+
1874
+ ◇ Enter provider id
1875
+ │ myprovider
1876
+
1877
+ ```
1878
+
1879
+ :::note
1880
+ Unutulmaz bir kimlik seçin, bunu yapılandırma dosyanızda kullanacaksınız.
1881
+ :::
1882
+
1883
+ 3. Sağlayıcı için API anahtarınızı girin.
1884
+
1885
+ ```bash
1886
+ $ /connect
1887
+
1888
+ ┌ Add credential
1889
+
1890
+ ▲ This only stores a credential for myprovider - you will need to configure it in opencode.json, check the docs for examples.
1891
+
1892
+ ◇ Enter your API key
1893
+ │ sk-...
1894
+
1895
+ ```
1896
+
1897
+ 4. Proje dizininizde `opencode.json` dosyanızı oluşturun veya güncelleyin:
1898
+
1899
+ ```json title="opencode.json" ""myprovider"" {5-15}
1900
+ {
1901
+ "$schema": "https://opencode.ai/config.json",
1902
+ "provider": {
1903
+ "myprovider": {
1904
+ "npm": "@ai-sdk/openai-compatible",
1905
+ "name": "My AI ProviderDisplay Name",
1906
+ "options": {
1907
+ "baseURL": "https://api.myprovider.com/v1"
1908
+ },
1909
+ "models": {
1910
+ "my-model-name": {
1911
+ "name": "My Model Display Name"
1912
+ }
1913
+ }
1914
+ }
1915
+ }
1916
+ }
1917
+ ```
1918
+
1919
+ Yapılandırma seçenekleri şunlardır:
1920
+ - **npm**: Kullanılacak AI SDK paketi, OpenAI uyumlu sağlayıcılar için `@ai-sdk/openai-compatible`
1921
+ - **name**: UI'daki görünen ad.
1922
+ - **modeller**: Mevcut modeller.
1923
+ - **options.baseURL**: API endpoint URL.
1924
+ - **options.apiKey**: Kimlik doğrulama kullanılmıyorsa isteğe bağlı olarak API anahtarını ayarlayın.
1925
+ - **options.headers**: İsteğe bağlı olarak özel başlıklar ayarlayın.
1926
+
1927
+ Aşağıdaki örnekte gelişmiş seçenekler hakkında daha fazla bilgi bulabilirsiniz.
1928
+
1929
+ 5. `/models` komutunu çalıştırın; özel sağlayıcınız ve modelleriniz seçim listesinde görünecektir.
1930
+
1931
+ ---
1932
+
1933
+ ##### Örnek
1934
+
1935
+ Burada `apiKey`, `headers` ve model `limit` seçeneklerini ayarlayan bir örnek verilmiştir.
1936
+
1937
+ ```json title="opencode.json" {9,11,17-20}
1938
+ {
1939
+ "$schema": "https://opencode.ai/config.json",
1940
+ "provider": {
1941
+ "myprovider": {
1942
+ "npm": "@ai-sdk/openai-compatible",
1943
+ "name": "My AI ProviderDisplay Name",
1944
+ "options": {
1945
+ "baseURL": "https://api.myprovider.com/v1",
1946
+ "apiKey": "{env:ANTHROPIC_API_KEY}",
1947
+ "headers": {
1948
+ "Authorization": "Bearer custom-token"
1949
+ }
1950
+ },
1951
+ "models": {
1952
+ "my-model-name": {
1953
+ "name": "My Model Display Name",
1954
+ "limit": {
1955
+ "context": 200000,
1956
+ "output": 65536
1957
+ }
1958
+ }
1959
+ }
1960
+ }
1961
+ }
1962
+ }
1963
+ ```
1964
+
1965
+ Yapılandırma ayrıntıları:
1966
+
1967
+ - **apiKey**: `env` değişken söz dizimini kullanarak ayarlayın, [daha fazla bilgi](/docs/config#env-vars).
1968
+ - **headers**: Her istekle birlikte gönderilen özel başlıklar.
1969
+ - **limit.context**: Modelin kabul ettiği maksimum giriş tokenları.
1970
+ - **limit.output**: Modelin üretebileceği maksimum token sayısı.
1971
+
1972
+ `limit` alanları opencode'un ne kadar bağlamınız kaldığını anlamasını sağlar. Standart sağlayıcılar bunları models.dev'den otomatik olarak alır.
1973
+
1974
+ ---
1975
+
1976
+ ## Sorun Giderme
1977
+
1978
+ Sağlayıcıyı yapılandırma konusunda sorun yaşıyorsanız aşağıdakileri kontrol edin:
1979
+
1980
+ 1. **Kimlik doğrulama kurulumunu kontrol edin**: Kimlik bilgilerinin geçerli olup olmadığını görmek için `opencode auth list` komutunu çalıştırın.
1981
+ sağlayıcı için yapılandırmanıza eklenir.
1982
+
1983
+ Bu, kimlik doğrulaması için ortam değişkenlerine güvenen Amazon Bedrock gibi sağlayıcılar için geçerli değildir.
1984
+
1985
+ 2. Özel sağlayıcılar için opencode yapılandırmasını kontrol edin ve:
1986
+ - `/connect` komutunda kullanılan sağlayıcı kimliğinin, opencode yapılandırmanızdaki kimlikle eşleştiğinden emin olun.
1987
+ - Sağlayıcı için doğru npm paketi kullanılıyor. Örneğin Cerebras için `@ai-sdk/cerebras` kullanın. Diğer tüm OpenAI uyumlu sağlayıcılar için `@ai-sdk/openai-compatible` kullanın.
1988
+ - `options.baseURL` alanında doğru API bitiş noktasının kullanıldığını kontrol edin.