fix print
This commit is contained in:
parent
97856f3765
commit
2f0bfe08b0
@ -1 +1 @@
|
|||||||
Subproject commit f1f1f67b612d758fe3beef7610c05b2a309ae96f
|
Subproject commit dc082b2001fb5f824ab18f62da56090471e777d0
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -12,3 +12,8 @@ scpt/json/
|
|||||||
.ssh/*.pub
|
.ssh/*.pub
|
||||||
.ssh/*config
|
.ssh/*config
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
pnpm-lock.yaml
|
||||||
|
**Cargo.lock
|
||||||
|
*/target/
|
||||||
|
*/**/*.rs.bk
|
||||||
|
@ -50,3 +50,10 @@ services:
|
|||||||
- ./.config:/root/.config
|
- ./.config:/root/.config
|
||||||
command: ai bot -a syui.syu.is
|
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!("{}", read);
|
||||||
println!("{}", handle);
|
println!("{}", handle);
|
||||||
println!(
|
println!(
|
||||||
"cid:{}\nuri:{}\ncid_root:{}\nuri_root:{}",
|
"cid:{}\nuri:{}\ncid_root:{}\nuri_root:{}\nhost:{}",
|
||||||
cid, uri, cid_root, uri_root
|
cid, uri, cid_root, uri_root, host
|
||||||
);
|
);
|
||||||
println!("reason:{}\ncom:{}\nprompt:{}", reason, com, prompt);
|
println!("reason:{}\ncom:{}\nprompt:{}", reason, com, prompt);
|
||||||
println!("prompt_sub:{}", prompt_sub);
|
println!("prompt_sub:{}", prompt_sub);
|
||||||
|
Loading…
Reference in New Issue
Block a user