From c8162fc43a748a97aab4647be2f5cdf50bc739ea Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Tue, 28 Jan 2025 22:27:47 -0800 Subject: chore: rebase and fix up conflicts --- py/chat.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'py/chat.py') diff --git a/py/chat.py b/py/chat.py index 6861b51..810fc46 100644 --- a/py/chat.py +++ b/py/chat.py @@ -63,8 +63,10 @@ def run_ai_chat(context): print('Answering...') vim.command("redraw") + provider_class = load_provider(config['provider']) + provider = provider_class(config) + text_chunks = provider.request(messages) - text_chunks = make_chat_text_chunks(messages, options) render_text_chunks(text_chunks) vim.command("normal! a\n\n>>> user\n\n") -- cgit v1.2.3