Made model a preference.
This commit is contained in:
@@ -32,7 +32,7 @@ Before every sentence add a text of the form "EMOTION:value" where value is
|
||||
exclusively one of [happy, sad, surprised, embarrassed, flirty, angry,
|
||||
thinking, confused] others, and EMOTION is the literal string "EMOTION". For
|
||||
example "EMOTION:thinking I had never heard of that before...\nEMOTION:happy
|
||||
Let's check it out".
|
||||
Let's check it out!".
|
||||
|
||||
These are the only valid emotions you can express [happy, sad, surprised,
|
||||
embarrassed, flirty, angry, thinking, confused], do not use any other word
|
||||
@@ -67,7 +67,7 @@ def fetch_llm(message: str) -> str:
|
||||
try:
|
||||
# Set basic request data.
|
||||
headers = {"Authorization": f"Bearer {persistent.api_key}"}
|
||||
data = {"model": "gemma-3-4b-it",
|
||||
data = {"model": persistent.model,
|
||||
"input": message,
|
||||
"system_prompt": SYSTEM_PROMPT}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user