feat: add stop sequence (#1652)

This commit is contained in:
Omar Crespo
2025-03-21 06:34:33 -05:00
committed by GitHub
parent d1fa11ec41
commit bae5275705
9 changed files with 129 additions and 10 deletions

View File

@@ -245,7 +245,7 @@ vim.g.avante_login = vim.g.avante_login
---@field usage? AvanteLLMUsage
---
---@class AvanteLLMStopCallbackOptions
---@field reason "complete" | "tool_use" | "error" | "rate_limit"
---@field reason "complete" | "tool_use" | "error" | "rate_limit" | "cancelled"
---@field error? string | table
---@field usage? AvanteLLMUsage
---@field tool_use_list? AvanteLLMToolUse[]