fix: make ask pub

This commit is contained in:
2023-06-17 15:25:41 +02:00
parent e3201bea2f
commit 071c4aad2d

View File

@@ -1,6 +1,6 @@
use ratmom::{prelude::*, Request};
async fn ask(prompt: String) -> Result<String, Box<dyn std::error::Error>> {
pub async fn ask(prompt: String) -> Result<String, Box<dyn std::error::Error>> {
let mut body = String::new();
body.push_str(r#"{