Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
156 changes: 84 additions & 72 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


[workspace.package]
version = "0.1.0"

Check warning on line 7 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused field `version` in `workspace.package`

Check warning on line 7 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused field `version` in `workspace.package`
rust-version = "1.94"
edition = "2024"

Expand Down Expand Up @@ -39,7 +39,7 @@
enable-ansi-support = "0.3.1"
derive_setters = "0.1.9"
dirs = "7.0.0"
dissimilar = "1.0.9"

Check warning on line 42 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `dissimilar`

Check warning on line 42 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `dissimilar`
dotenvy = "0.15.7"
futures = "0.3.32"
gh-workflow = "0.8.1"
Expand All @@ -47,7 +47,7 @@
grep-searcher = "0.1.14"
grep-regex = "0.1.13"
handlebars = "6.4.0"
html2md = "=0.2.15"
html2md = "=0.2.17"
http = "1.2.0"
ignore = "0.4.23"
is_ci = "1.2.0"
Expand All @@ -59,7 +59,7 @@
mockito = "1.7.2"
nom = "8.0.0"
nu-ansi-term = "0.50.1"
posthog-rs = "0.27.0"

Check warning on line 62 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `posthog-rs`

Check warning on line 62 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `posthog-rs`
pretty_assertions = "1.4.1"
proc-macro2 = "1.0"
quote = "1.0"
Expand Down Expand Up @@ -101,7 +101,7 @@
"io-util",
] }
tokio-stream = "0.1.18"
tokio-util = "0.7"

Check warning on line 104 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `tokio-util`

Check warning on line 104 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `tokio-util`
tonic = { version = "0.14.5", features = ["tls-webpki-roots"] }
tracing = "0.1.44"
tracing-appender = "0.2.3"
Expand All @@ -110,7 +110,7 @@
terminal_size = "0.4"
unicode-width = "0.2"
backon = "1.5.2"
eserde = "0.1.7"

Check warning on line 113 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `eserde`

Check warning on line 113 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `eserde`
uuid = { version = "1.23.0", features = [
"v4",
"fast-rng",
Expand Down Expand Up @@ -141,13 +141,13 @@
forge_embed = { path = "crates/forge_embed" }
forge_api = { path = "crates/forge_api" }
forge_app = { path = "crates/forge_app" }
forge_ci = { path = "crates/forge_ci" }

Check warning on line 144 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `forge_ci`

Check warning on line 144 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `forge_ci`
forge_display = { path = "crates/forge_display" }
forge_domain = { path = "crates/forge_domain" }
forge_fs = { path = "crates/forge_fs" }
forge_infra = { path = "crates/forge_infra" }
forge_repo = { path = "crates/forge_repo" }
forge_main = { path = "crates/forge_main" }

Check warning on line 150 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `forge_main`

Check warning on line 150 in Cargo.toml

View workflow job for this annotation

GitHub Actions / Lint Fix

unused workspace dependency `forge_main`
forge_services = { path = "crates/forge_services" }
forge_snaps = { path = "crates/forge_snaps" }
forge_spinner = { path = "crates/forge_spinner" }
Expand Down
7 changes: 4 additions & 3 deletions crates/forge_app/src/dto/openai/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ pub struct Message {
pub reasoning_text: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub reasoning_opaque: Option<String>,
// kimi_k2 uses reasoning_content as flat string (similar to reasoning_text but aliased)
// kimi_k2 uses reasoning_content as flat string (similar to reasoning_text
// but aliased)
#[serde(skip_serializing_if = "Option::is_none", rename = "reasoning_content")]
pub reasoning_content: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
Expand Down Expand Up @@ -395,8 +396,8 @@ impl From<Context> for Request {
min_p: Default::default(),
top_a: Default::default(),
prediction: Default::default(),
// Since compaction is support on the client we don't need middle-out transforms any
// more
// Since compaction is support on the client we don't need
// middle-out transforms any more
transforms: Default::default(),
models: Default::default(),
route: Default::default(),
Expand Down
3 changes: 2 additions & 1 deletion crates/forge_app/src/orch_spec/orch_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ pub struct Runner {
// Tool call requests and the mock responses
test_tool_calls: Mutex<VecDeque<(ToolCallFull, ToolResult)>>,

// Mock completions from the LLM (Each value is produced as an event in the stream)
// Mock completions from the LLM (Each value is produced as an event in the
// stream)
test_completions: Mutex<VecDeque<ChatCompletionMessage>>,

// Mock shell command outputs
Expand Down
Loading
Loading