llmmerge
A custom LLM-based Git merge driver.
Usage as a Git Merge Driver
After installing the package, run the script: tools/add_git_global_options.sh to add the custom git merge driver as the secondary option for unresolved conflicts to the current installation of git.
You will also need to acquire a chatGPT API-key, and create the following environment variable in the shell running the git-merge command:
export OPENAI_API_KEY="ChatGPT-API-KEY"
ToDo Features
-
For large input files, you can pre-process the input prompt so that the size of the prompt is lesser by using a language parser and sending only the required context -- using git diff line numbers to identify the context. You can then stitch together the merged function and the rest of the common file to get the merged file.
-
Make a series of merge drivers with a series of increasingly complex/resource-intensive LLMs. To be used when the previous LLM fails to resolve conflict, satisfactorily.
Metadata
Release files for llmmerge 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| llmmerge-0.2.2.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llmmerge-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / llmmerge-0.2.2.tar.gz
| Download URL | llmmerge-0.2.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
15db1d6ddf736fca79b287abec23fe772786996ab36369b707cb91120acf4f5d
|
|
BLAKE2b-256 checksum How to use checksums |
cd7289657384c90d061d79a6ddd2f8f1d1f1e580425a55fde594731b70e791a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.8
|
Release files / llmmerge-0.2.2-py3-none-any.whl
| Download URL | llmmerge-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cfd1f64f377a7ed4e851f9db6b322aa678cfcbfee578eeed01df1c42ec23380
|
|
BLAKE2b-256 checksum How to use checksums |
19c45cf692d0e33664ffd0cf1fe83d79fb328fc0ad64af132b0e08a566909edf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.8
|
Security for llmmerge 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.