使用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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auto_fix-1.2.5211.tar.gz.
File metadata
- Download URL: auto_fix-1.2.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.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b80232c1d379aa5f96b84666b3111575c1a10128b9c596a25e469691b725be0
|
|
| MD5 |
8449f952a45b11fd83256d2c8e895592
|
|
| BLAKE2b-256 |
163c4a4504bf125e6cebcf90edbb7131d9947b1605dcb5cb52ad0e660e334218
|
File details
Details for the file auto_fix-1.2.5211-py3-none-any.whl.
File metadata
- Download URL: auto_fix-1.2.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.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cbd9c3007f039f64926c8c0e5183cda4dee5e3e3bb6530e5291d7b395f29f4d
|
|
| MD5 |
5f7dd547e8fbb004a3b631700fcee574
|
|
| BLAKE2b-256 |
afb902e9a8e94ffd2621bf61ac3827202d23edff970ea73f8b92d1639b590763
|