Skip to content

Commit

Permalink
add line break for config
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh committed Nov 18, 2023
1 parent 4e6e260 commit 0fac48e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion askchat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

__author__ = """Rex Wang"""
__email__ = '[email protected]'
__version__ = '0.1.0'
__version__ = '0.1.1'

from .askchat import ask
6 changes: 3 additions & 3 deletions askchat/askchat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0fac48e

Please sign in to comment.