2
0
Fork 0
anthropic.nvim/lua/anthropic/util/init.lua

22 lines
487 B
Lua

local session = require("anthropic.util.session")
local M = {}
function M.load_session()
-- Pick session from list of saved sessions
-- Redraw chat window with session
end
--- # Message request wrapper function
---
--- Calls the Anthropic API and writes the response to the chatbox
---@param message string
function M.send_message(message)
session.add_message(message, "user")
-- Call API with session
-- Stream response to chat window and
-- Update session
end
return M