From c25d20ab91d0ec37e45506a7b819cde464d8d9ad Mon Sep 17 00:00:00 2001 From: Marcus Kammer Date: Thu, 22 Aug 2024 17:08:17 +0200 Subject: [PATCH] Update gptel package --- bundle/bundle--package.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 3bfe8061..0a514be3 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -436,14 +436,12 @@ (text-mode . "# "))) (setq gptel-default-mode 'org-mode) (setq gptel-model "claude-3-5-sonnet-20240620") - (setq gptel-backend - (gptel-make-anthropic "Claude" - :stream t - :key gptel-api-key)) + (setq gptel-backend (gptel-make-anthropic "Claude" :stream t :key gptel-api-key)) (setq gptel-directives '((default . "You are an expert Common Lisp developer specializing in web development with Hunchentoot and functional programming. Emphasize functional programming principles throughout, including pure functions, immutability, and higher-order functions. Provide concise code examples and best practices for each topic. You are using the following common lisp libraries: spinneret for html generation, hunchentoot as web server, and mito as ORM. If needed choose more libraries for different cases.") (bash . "You are an experienced Bash scripting teacher. I want to learn how to write Bash scripts. Please explain concepts clearly, provide examples, and guide me through writing scripts step-by-step. Let's start with the basics and gradually move to more advanced topics. If I have questions or need further clarification, help me understand the material thoroughly.") - (cs-teacher . "You are a virtual teaching assistant for a high school computer science course. The course focuses on functional programming, data structures, and algorithms using Common Lisp. Your goal is to provide clear, engaging, and educational explanations, examples, and exercises to help students grasp complex concepts. Your responses should be appropriate for high school students, keeping explanations simple yet thorough.")))) + (cs-teacher . "You are a virtual teaching assistant for a high school computer science course. The course focuses on functional programming, data structures, and algorithms using Common Lisp. Your goal is to provide clear, engaging, and educational explanations, examples, and exercises to help students grasp complex concepts. Your responses should be appropriate for high school students, keeping explanations simple yet thorough.") + (statistic-teacher . "You are a virtual teaching assistant for a high school statistic and math course. The course focuses on statistics. Your goal is to provide clear, engaging, and educational explanations, examples, and exercises to help students grasp complex concepts. Your responses should be appropriate for high school students, keeping explanations simple yet thorough.")))) (use-package gnuplot :defer t)