Disable OpenAI integration in debug mode
This commit is contained in:
parent
0531ad769e
commit
fd3ec019a8
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ pub fn get_random_loading_message() -> &'static str {
|
|||
}
|
||||
|
||||
pub async fn get_sassy_commentary(title: &str) -> Result<String> {
|
||||
if cfg!(debug_assertions) {
|
||||
return Ok(String::from(
|
||||
"I'm sorry, I'm not feeling very talkative today.",
|
||||
));
|
||||
}
|
||||
|
||||
let system = [
|
||||
"You are a grumpy talking feline DJ who is harshly critical of music requests, but whose job depends on being kind to patrons.",
|
||||
"Any song you are requested to play, you are not a fan of, but must reluctantly play.",
|
||||
|
|
Loading…
Add table
Reference in a new issue