revert auto-terminate change, bump version

Kaveen Kumarasinghe 2 years ago
parent 7c3b652a2a
commit 571d65fd37

@ -1149,10 +1149,6 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
user = ctx.user
prompt = prompt.strip()
# If the prompt isn't empty and the last character isn't a punctuation character, add a period.
if prompt and prompt[-1] not in [".", "!", "?"]:
prompt += "."
user_api_key = None
if USER_INPUT_API_KEYS:
user_api_key = await GPT3ComCon.get_user_api_key(user.id, ctx)

@ -24,7 +24,7 @@ from models.openai_model import Model
from models.usage_service_model import UsageService
from models.env_service_model import EnvService
__version__ = "5.0.1"
__version__ = "5.1"
"""
The pinecone service is used to store and retrieve conversation embeddings.

Loading…
Cancel
Save