Docs.rs
git-ai-0.2.2
git-ai 0.2.2
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
oleander
Dependencies
anyhow ^1.0.86
normal
async-openai ^0.18.3
normal
colored ^2.1.0
normal
config ^0.13.4
normal
console ^0.15.8
normal
ctrlc ^3.4.4
normal
dotenv ^0.15.0
normal
env_logger ^0.10.2
normal
git2 ^0.18.3
normal
home ^0.5.9
normal
indicatif ^0.17.8
normal
lazy_static ^1.4.0
normal
log ^0.4.21
normal
reqwest ^0.11.27
normal
serde ^1
normal
serde_derive ^1.0.203
normal
serde_ini ^0.2.0
normal
serde_json ^1.0.117
normal
structopt ^0.3.26
normal
thiserror ^1.0.61
normal
tiktoken-rs ^0.5.8
normal
tokio ^1.37.0
normal
anyhow ^1.0.86
dev
git2 ^0.18.3
dev
rand ^0.8.5
dev
tempfile ^3.10.1
dev
Versions
0%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
ai
0.2.2
In ai::commit
Function
ai
::
commit
::
generate
Copy item path
source
ยท
[
−
]
pub async fn generate( diff:
String
, max_tokens:
usize
, model:
Model
) ->
Result
<
Response
>