Skip to content

Commit d113a1d

Browse files
committed
Bump version, update changelog, minor formatting
1 parent 328d120 commit d113a1d

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
28 July 2024 - v0.0.6
33

4+
- Support beta header to enable extended token output. See:
5+
https://docs.anthropic.com/en/release-notes/api#july-15th-2024
46
- misan chat: Interactive chat command
57
- misan: --json flag to output responses as JSON
68
- @philpax: Improved error responses

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[workspace.package]
3-
version = "0.0.5"
3+
version = "0.0.6"
44
edition = "2021"
55
authors = ["Aldo Cortesi <[email protected]>"]
66
description = "An interface to the Anthropic API"
@@ -10,3 +10,7 @@ repository = "https://github.com/cortesi/misanthropy"
1010
[workspace]
1111
resolver = "2"
1212
members = ["crates/*"]
13+
14+
15+
[workspace.dependencies]
16+
misanthropy = { version = "0.0.6", path = "crates/misanthropy" }

crates/misan/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ authors.workspace = true
66
license.workspace = true
77
repository.workspace = true
88
description = "An interface to the Anthropic API"
9+
readme = "../../README.md"
910

1011
[dependencies]
12+
misanthropy = { workspace = true }
13+
1114
clap = { version = "4.5.7", features = ["derive"] }
1215
colored = "2.1.0"
1316
env_logger = "0.11.3"
1417
futures-util = "0.3.30"
1518
log = "0.4.21"
16-
misanthropy = { version="0.0.5", path = "../misanthropy" }
1719
serde_json = "1.0.120"
1820
tokio = { version = "1.38.0", features = ["full"] }

crates/misan/src/main.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@ async fn handle_chat(
148148
request = request.with_stop_sequences(args.stop_sequences.clone());
149149
}
150150

151-
println!("Starting chat session. Type 'exit' to end the conversation.");
151+
println!(
152+
"{}",
153+
"Starting chat session. Type 'exit' or ctrl-c to end the conversation.".blue()
154+
);
152155

153156
loop {
154157
print!("{} ", "You:".green().bold());

0 commit comments

Comments
 (0)