使用AI模型的自动代码修复库.
Project description
使用方法 : from auto_fix import es
@es def main(): # 您的代码逻辑 print("开始执行主程序") # 故意引入一个错误 x = 1 / 0 print("程序执行完毕")
if name == 'main': main()
但是运行之前 请务必设置 : export OPENAI_API_KEY='your_openai_api_key' export DEEPSEEK_API_KEY='your_deepseek_api_key'
Deepseek ai 他们的ai 个人认为非常好.所以就使用了他们的 如果您不喜欢可以设置none 另外一个就是openai 的api
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
auto_fix-1.1.5211.tar.gz
(1.5 kB
view details)
Built Distribution
File details
Details for the file auto_fix-1.1.5211.tar.gz
.
File metadata
- Download URL: auto_fix-1.1.5211.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cccc871776f3239a8cc632d8fa0376e33e78841d00ca4c125e0d30379682c4f |
|
MD5 | fb5f6aff60c7201b2da635ec865ca052 |
|
BLAKE2b-256 | a2d5296d1610a6d19c0fdaaec232d3e5fae5c6d3a1969b01cda1a346877223a8 |
File details
Details for the file auto_fix-1.1.5211-py3-none-any.whl
.
File metadata
- Download URL: auto_fix-1.1.5211-py3-none-any.whl
- Upload date:
- Size: 1.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c2c4f48b0f32b4de3ac4f58056cb03d6804efc64fdfea16d27edb0cd46cae56 |
|
MD5 | 24fb6dfaf931ba1a9c9996ab4cb30d59 |
|
BLAKE2b-256 | 483cf8a5c52de3ce00f1bcb52ccc22cc2f18b3cc9228e7df9bd1bf641387447c |