fix print
This commit is contained in:
Submodule .config/ai/scpt updated: f1f1f67b61...dc082b2001
5
.gitignore
vendored
5
.gitignore
vendored
@ -12,3 +12,8 @@ scpt/json/
|
||||
.ssh/*.pub
|
||||
.ssh/*config
|
||||
.env
|
||||
|
||||
pnpm-lock.yaml
|
||||
**Cargo.lock
|
||||
*/target/
|
||||
*/**/*.rs.bk
|
||||
|
@ -50,3 +50,10 @@ services:
|
||||
- ./.config:/root/.config
|
||||
command: ai bot -a syui.syu.is
|
||||
```
|
||||
|
||||
### openapi
|
||||
|
||||
```sh
|
||||
# https://github.com/rdmurphy/atproto-openapi-types
|
||||
$ curl -sLO https://raw.githubusercontent.com/rdmurphy/atproto-openapi-types/main/spec/api.json
|
||||
```
|
||||
|
@ -81,8 +81,8 @@ pub fn c_bot(c: &Context) {
|
||||
println!("{}", read);
|
||||
println!("{}", handle);
|
||||
println!(
|
||||
"cid:{}\nuri:{}\ncid_root:{}\nuri_root:{}",
|
||||
cid, uri, cid_root, uri_root
|
||||
"cid:{}\nuri:{}\ncid_root:{}\nuri_root:{}\nhost:{}",
|
||||
cid, uri, cid_root, uri_root, host
|
||||
);
|
||||
println!("reason:{}\ncom:{}\nprompt:{}", reason, com, prompt);
|
||||
println!("prompt_sub:{}", prompt_sub);
|
||||
|
Reference in New Issue
Block a user