fix: make ask pub
This commit is contained in:
parent
e3201bea2f
commit
071c4aad2d
@ -1,6 +1,6 @@
|
|||||||
use ratmom::{prelude::*, Request};
|
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();
|
let mut body = String::new();
|
||||||
body.push_str(r#"{
|
body.push_str(r#"{
|
||||||
|
Loading…
Reference in New Issue
Block a user