Docs.rs
git-ai-1.2.1
git-ai 1.2.1
Docs.rs crate page
MIT
17 June 2026
Links
Repository
crates.io
Source
Owners
oleander
Dependencies
anyhow ^1.0.102
normal
async-openai ^0.41
normal
colored ^3.1.1
normal
config ^0.15.24
normal
console ^0.16
normal
dirs ^6.0
normal
dotenv ^0.15.0
normal
env_logger ^0.11.10
normal
futures ^0.3
normal
git2 ^0.21.0
normal
home ^0.5.12
normal
indicatif ^0.18
normal
lazy_static ^1.5.0
normal
log ^0.4.32
normal
maplit ^1.0.2
normal
mustache ^0.9.0
normal
num_cpus ^1.17.0
normal
parking_lot ^0.12.5
normal
rand ^0.10
normal
rayon ^1.12.0
normal
reqwest ^0.13.4
normal
serde ^1.0
normal
serde_derive ^1.0.228
normal
serde_ini ^0.2.0
normal
serde_json ^1.0
normal
structopt ^0.3.26
normal
textwrap ^0.16
normal
thiserror ^2.0.18
normal
tiktoken-rs ^0.12.0
normal
tokio ^1.52.3
normal
tracing ^0.1
normal
tempfile ^3.27.0
dev
openssl ^0.10
normal
Versions
34.33%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module multi_step_integration
ai
1.2.1
Module multi_
step_
integration
Module Items
Structs
Constants
Functions
In crate ai
ai
Module
multi_
step_
integration
Copy item path
Source
Structs
§
Parsed
File
Represents a parsed file from the git diff
Constants
§
ANALYZE_
SYSTEM_
PROMPT
System prompt for the
analyze
step. Drives per-file analysis that feeds the
analyze
function-calling tool. Kept as a
pub const
so the prompt contract can be pinned by invariant tests without reaching into private request builders.
COMMIT_
SYSTEM_
PROMPT
System prompt for the final
commit
step (select and format the message).
GENERATE_
SYSTEM_
PROMPT
System prompt for the
generate
step (candidate commit subjects).
SCORE_
SYSTEM_
PROMPT
System prompt for the
score
step (impact scoring across all analyzed files).
Functions
§
generate_
commit_
message_
local
Alternative: Use the multi-step analysis locally without OpenAI calls
generate_
commit_
message_
multi_
step
Main entry point for multi-step commit message generation
parse_
diff
Parse git diff into individual files