deepseek_fim
Generate the missing middle code from a provided prefix and suffix. Supply the surrounding code context to receive the completed section.
Instructions
Fill-in-the-Middle 代码补全,根据代码前缀和后缀生成中间代码。API Key 模式使用原生 FIM 接口,网页版模式通过对话模拟实现
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | Yes | 代码前缀(光标位置之前的代码) | |
| suffix | No | 代码后缀(光标位置之后的代码) | |
| max_tokens | No | 最大补全 token 数,默认 256 | |
| temperature | No | 采样温度,代码补全建议使用低值如 0,默认 0 |