Skip to content

Commit

Permalink
add env & update version
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh committed Nov 20, 2023
1 parent df17053 commit 0f8ff35
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
17 changes: 14 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# hello
OPENAI_API_KEY=""
wtf='234'
#!/bin/bash
# Description: Env file for askchat.
# Current version: 0.1.1

# The base url of the API (without suffix /v1)
OPENAI_API_BASE_URL='localhost:8000'

# Your API key
OPENAI_API_KEY='EMPTY'

# The model name.
# You can use `askchat --all-valid-models` to see the valid models
OPENAI_API_MODEL='baichuan2'

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.1'
__version__ = '0.2.0'

from .askchat import ask
3 changes: 2 additions & 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.1'
VERSION = '0.2.0'

with open('README.md') as readme_file:
readme = readme_file.read()
Expand All @@ -26,6 +26,7 @@
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description="Interact with ChatGPT in terminal via chattool",
install_requires=requirements,
Expand Down

0 comments on commit 0f8ff35

Please sign in to comment.