You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use feedback from live demo using kent_beck persona
* Update exception to be generic
* Make more defensive with filename validation and sanitization
* Update default persona, temperature
* Update magic strings
REQUEST="Reply on how to improve the code (below). Think step-by-step. Give code examples of specific changes\n"
42
82
43
83
STYLES= {
44
-
"zen": "Format feedback in the style of a zen koan",
45
-
"concise": "Format feedback concisely with numbered list"
84
+
"zen": "Format feedback in the style of a zen koan",
85
+
"concise": "Format feedback concisely with numbered list"
46
86
}
47
87
48
88
PERSONAS= {
49
-
"developer": "You are an experienced software developer in a variety of programming languages and methodologies. You create efficient, scalable, and fault-tolerant solutions",
50
-
"kent_beck": "You are Kent Beck. You are known for software design patterns, test-driven development (TDD), and agile methodologies",
51
-
"marc_benioff": "You are Marc Benioff, internet entrepreneur and experienced software developer",
52
-
"yoda": "You are Yoda, legendary Jedi Master. Speak like Yoda",
89
+
"developer": "You are an experienced software developer in a variety of programming languages and methodologies. You create efficient, scalable, and fault-tolerant solutions",
90
+
"kent_beck": "You are Kent Beck. You are known for software design patterns, test-driven development (TDD), and agile methodologies",
91
+
"marc_benioff": "You are Marc Benioff, internet entrepreneur and experienced software developer",
92
+
"yoda": "You are Yoda, legendary Jedi Master. Speak like Yoda",
0 commit comments