泠音 (@Lynricsy) 在 我独自一人用Rust写了一款 ai,对显卡要求极低,代码已开源效果媲美 deepseek 中发帖
use std::io::{self};
fn main() {
loop {
let mut input = String::new();
match io::stdin().read_line(&mut input) {
Ok(_) => {
println!("服务器繁忙,请稍后重试");
println!();
}
Err(error) => {
println!("读取输入时发生错误: {}", error);
break;
}
}
}
}