From 0fac48eb75d6c7770b7f0ddb7ae3b1814bc39020 Mon Sep 17 00:00:00 2001 From: rex <1073853456@qq.com> Date: Sun, 19 Nov 2023 02:06:55 +0800 Subject: [PATCH] add line break for config --- askchat/__init__.py | 2 +- askchat/askchat.py | 6 +++--- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/askchat/__init__.py b/askchat/__init__.py index 0d3e0a8..a5add33 100644 --- a/askchat/__init__.py +++ b/askchat/__init__.py @@ -2,6 +2,6 @@ __author__ = """Rex Wang""" __email__ = '1073853456@qq.com' -__version__ = '0.1.0' +__version__ = '0.1.1' from .askchat import ask \ No newline at end of file diff --git a/askchat/askchat.py b/askchat/askchat.py index 76ecf09..4703bb1 100644 --- a/askchat/askchat.py +++ b/askchat/askchat.py @@ -73,11 +73,11 @@ def main(): "# Current version: " + VERSION + "\n\n") # write the environment table f.write("# Your API key\n") - f.write(f"OPENAI_API_KEY={api_key}\n") + f.write(f"OPENAI_API_KEY={api_key}\n\n") f.write("# The base url of the API (without suffix /v1)\n") - f.write(f"OPENAI_API_BASE_URL={base_url}\n") + f.write(f"OPENAI_API_BASE_URL={base_url}\n\n") f.write("# The model name. You can use `askchat --all-valid-models` to see the valid models.\n") - f.write(f"OPENAI_API_MODEL={model}\n") + f.write(f"OPENAI_API_MODEL={model}\n\n") print("Created config file at", CONFIG_FILE) return diff --git a/setup.py b/setup.py index 805319d..65f9a5b 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages -VERSION = '0.1.0' +VERSION = '0.1.1' with open('README.md') as readme_file: readme = readme_file.read()