1
0

fix print

This commit is contained in:
syui 2024-03-10 13:43:46 +09:00
parent 97856f3765
commit 2f0bfe08b0
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
4 changed files with 15 additions and 3 deletions

@ -1 +1 @@
Subproject commit f1f1f67b612d758fe3beef7610c05b2a309ae96f
Subproject commit dc082b2001fb5f824ab18f62da56090471e777d0

5
.gitignore vendored
View File

@ -12,3 +12,8 @@ scpt/json/
.ssh/*.pub
.ssh/*config
.env
pnpm-lock.yaml
**Cargo.lock
*/target/
*/**/*.rs.bk

View File

@ -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
```

View File

@ -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);