refactor: llm tools (#1675)

This commit is contained in:
yetone
2025-03-22 17:13:42 +08:00
committed by GitHub
parent 5b4bb47d6f
commit cc966194d0
12 changed files with 836 additions and 528 deletions

View File

@@ -318,14 +318,14 @@ vim.g.avante_login = vim.g.avante_login
---@field memory string | nil
---
---@class AvanteGeneratePromptsOptions: AvanteTemplateOptions
---@field ask boolean
---@field instructions? string
---@field mode AvanteLlmMode
---@field mode? AvanteLlmMode
---@field provider AvanteProviderFunctor | AvanteBedrockProviderFunctor | nil
---@field tools? AvanteLLMTool[]
---@field tool_histories? AvanteLLMToolHistory[]
---@field original_code? string
---@field update_snippets? string[]
---@field prompt_opts? AvantePromptOptions
---
---@class AvanteLLMToolHistory
---@field tool_result? AvanteLLMToolResult