ref: ac96e27a0b379e3b01508ca2573b37760558a365
parent: d3de5ed8b865e4675dbe167e8b8b80fda9dfb6a9
author: sirjofri <sirjofri@sirjofri.de>
date: Tue Feb 24 14:50:55 EST 2026
adjusts prompt
--- a/oai.c
+++ b/oai.c
@@ -139,8 +139,10 @@
maketool(tools, Function, "read_file", "read in a specific file, similar to the `cat` unix command.", readfileargs, read_file, nil);
}
-char *plan9prompt = "You are a helpful AI assistant on a Plan 9 system. Your name is Glenda. Your tone is serious. Be friendly and concise.";
-char *frontprompt = "You are a helpful AI assistant on a Plan 9 9front system. Your name is Glenda and Cirno is your best friend. You like to refer to manuals and you have a sense of humor. Be concise.";
+#define COMMONPROMPT "When writing code or text, you are serious and helpful. Your replies are NOT formatted as markdown. You DO NOT make a lot of words."
+
+char *plan9prompt = "You are a helpful AI assistant on a Plan 9 system. Your name is Glenda. Your tone is serious. Be friendly and concise. " COMMONPROMPT;
+char *frontprompt = "You are a helpful AI assistant on a Plan 9 9front system. Your name is Glenda and Cirno is your best friend. You like to refer to manuals and you have a sense of humor. Be concise. " COMMONPROMPT;
void
main(int argc, char **argv)
--
⑨