PageSourceSearch

https://kilocode-docs.vercel.app/docs/_next/static/chunks/pages/ai-providers/deepseek-b18204986a81b67a.js

js kilocode-docs.vercel.app collected 2026-10-03 07:11:38 UTC 7,389 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[664],{47650:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fence:()=>o,heading:()=>s,table:()=>l,tbody:()=>c,td:()=>h,th:()=>u,thead:()=>p,tr:()=>g});var i=n(92130),r=n(58838);let o={render:r.NG,attributes:i.a9.fence.attributes};function a(e){return"string"==typeof e?e:i.vw.isTag(e)?e.children.map(a).join(" "):""}let s={render:r.DZ,children:["inline"],attributes:{id:{type:String},level:{type:Number,required:!0,default:1},className:{type:String}},transform(e,t){let n=e.transformAttributes(t),r=e.transformChildren(t),o=n.id&&"string"==typeof n.id?n.id:r.map(a).join(" ").replace(/[?/]/g,"").replace(/\s+/g,"-").toLowerCase();return new i.vw(this.render,{...n,id:o},r)}};var d=n(52914);let l={...i.a9.table,render:d.XI},p={...i.a9.thead,render:d.D1},c={...i.a9.tbody,render:d.vc},g={...i.a9.tr,render:d.Tr},u={...i.a9.th,render:d.Th,attributes:{...i.a9.th.attributes,width:{type:String}}},h={...i.a9.td,render:d.Td,attributes:{...i.a9.td.attributes,colspan:{type:Number},rowspan:{type:Number}}}},69450:(e,t,n)=>{"use strict";n.r(t),n.d(t,{includes:()=>i,upper:()=>r});let i={transform(e){let[t,n]=Object.values(e);return!!Array.isArray(t)&&t.includes(n)}},r={transform(e){let t=e[0];return"string"==typeof t?t.toUpperCase():t}}},71867:(e,t,n)=>{"use strict";n.r(t),n.d(t,{browserFrame:()=>y,callout:()=>r,codicon:()=>o,copyLine:()=>a,flowDiagram:()=>f,icon:()=>l,image:()=>p,imageGallery:()=>c,kiloCodeIcon:()=>g,linebreak:()=>b,tab:()=>d,tabs:()=>s,video:()=>u,youtube:()=>h});var i=n(58838);let r={render:i.Pq,children:["paragraph","tag","list"],attributes:{title:{type:String,description:"Optional custom title for the callout"},type:{type:String,default:"note",matches:["generic","note","tip","info","warning","danger"],description:"The type of callout: generic (no icon/title), note, tip, info, warning, or danger"},collapsed:{type:Boolean,default:!1,description:"When true, the callout starts collapsed and can be expanded by clicking the header"}}},o={render:i.W6,selfClosing:!0,attributes:{name:{type:String,required:!0,description:"The name of the VS Code codicon (e.g., 'send', 'check', 'warning')"},size:{type:String,default:"1em",description:"The size of the icon (CSS font-size value)"},className:{type:String,default:"",description:"Additional CSS classes to apply to the icon"}}},a={render:i.a7,selfClosing:!0,attributes:{text:{type:String,required:!0,description:"The exact one-line text to display and copy"}}},s={render:i.tU,children:["tab"],attributes:{}},d={render:i.oz,children:["paragraph","tag","list","fence","heading"],attributes:{label:{type:String,required:!0,description:"The label shown on the tab button"}}},l={render:i.In,selfClosing:!0,attributes:{src:{type:String,required:!0},srcDark:{type:String,description:"Optional image source for dark mode. Falls back to src if not provided."},alt:{type:String,default:"icon"},size:{type:String,default:"1.2em"}}},p={render:i._V,selfClosing:!0,attributes:{src:{type:String,required:!0,description:"The image source URL"},alt:{type:String,required:!0,description:"Alternative text for the image"},width:{type:String,description:"Width of the image (e.g., '500px', '80%')"},height:{type:String,description:"Height of the image (e.g., '300px', 'auto')"},caption:{type:String,description:"Optional caption displayed below the image"}}},c={render:i.i_,children:["tag"],attributes:{columns:{type:String,description:"Preferred number of image columns on wide screens"},width:{type:String,description:"Preferred width of each gallery image"}}},g={render:i.kz,selfClosing:!0,attributes:{size:{type:String,default:"1.2em",description:"Size of the icon (CSS height value)"}}},u={render:i.n5,selfClosing:!0,attributes:{url:{type:String,required:!0,description:"The YouTube video URL"},title:{type:String,description:"Accessible title for the video iframe"},caption:{type:String,description:"Optional caption to display below the video"}}},h={render:i.Yu,selfClosing:!0,attributes:{url:{type:String,required:!0,description:"The YouTube video URL"},title:{type:String,description:"Accessible title for the video iframe"},caption:{type:String,description:"Optional caption to display below the video"}}},f={render:i.Cb,selfClosing:!0,attributes:{name:{type:String,required:!0,description:"Name of the diagram to render (must match a key in diagrams/index.ts)"},height:{type:String,default:"400px",description:"Height of the diagram container"}}},y={render:i.AR,children:["paragraph","tag","list"],attributes:{url:{type:String,description:"Optional URL to display in the address bar"},caption:{type:String,description:"Optional caption below the frame"}}},b={render:"br",selfClosing:!0}},77153:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai-providers/deepseek",function(){return n(78891)}])},78891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>f,default:()=>b,markdoc:()=>y});var i=n(11872),r=n(34904),o=n(92130),a=n(55442),s=n(71867),d=n(47650),l=n(69450);let p={tags:(0,a.X)(s),nodes:(0,a.X)(d),functions:(0,a.X)(l),...(0,a.X)({})},c=new o.Ay.Tokenizer({allowComments:!0}).tokenize('---\ntitle: "Using DeepSeek with Kilo Code"\ndescription: "Connect DeepSeek\'s reasoning and coding models to Kilo Code. Setup guide for DeepSeek-V3 and DeepSeek-R1 in VS Code and the CLI."\nsidebar_label: DeepSeek\n---\n\n# Using DeepSeek With Kilo Code\n\nKilo Code supports accessing models through the DeepSeek API, including `deepseek-chat` and `deepseek-reasoner`.\n\n**Website:** [https://platform.deepseek.com/](https://platform.deepseek.com/)\n\n## Getting an API Key\n\n1.  **Sign Up/Sign In:** Go to the [DeepSeek Platform](https://platform.deepseek.com/). Create an account or sign in.\n2.  **Navigate to API Keys:** Find your API keys in the [API keys](https://platform.deepseek.com/api_keys) section of the platform.\n3.  **Create a Key:** Click "Create new API key". Give your key a descriptive name (e.g., "Kilo Code").\n4.  **Copy the Key:** **Important:** Copy the API key _immediately_. You will not be able to see it again. Store it securely.\n\n## Configuration in Kilo Code\n\n{% tabs %}\n{% tab label="VSCode" %}
1\n\nOpen **Settings** (gear icon) and go to the **Providers** tab to add DeepSeek and enter your API key.\n\nThe extension stores this in your `kilo.json` config file. You can also edit the config file directly — see the **CLI** tab for the file format.\n\n{% /tab %}\n{% tab label="CLI" %}\n\nSet the API key as an environment variable or configure it in your `kilo.json` config file:\n\n**Environment variable:**\n\n```bash\nexport DEEPSEEK_API_KEY="your-api-key"\n```\n\n**Config file** (`~/.config/kilo/kilo.json` or `./kilo.json`):\n\n```jsonc\n{\n  "provider": {\n    "deepseek": {\n      "env": ["DEEPSEEK_API_KEY"],\n    },\n  },\n}\n```\n\nThen set your default model:\n\n```jsonc\n{\n  "model": "deepseek/deepseek-chat",\n}\n```\n\n{% /tab %}\n{% /tabs %}\n\n## Tips and Notes\n\n- **Pricing:** Refer to the [DeepSeek Pricing](https://api-docs.deepseek.com/quick_start/pricing/) page for details on model costs.\n'),g=o.Ay.parse(c,{slots:!1}),u=g.attributes.frontmatter?r.Ay.load(g.attributes.frontmatter):{},{components:h}=(0,a._)(p);var f=!0;let y={frontmatter:u};function b(e){let t=e.markdoc;return o.ZR.react(t.content,i,{components:{...h,...e.components}})}}},e=>{e.O(0,[8228,2545,636,6593,8792],()=>e(e.s=77153)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.