Skip to content

Commit

Permalink
- Verify cookies expiry state
Browse files Browse the repository at this point in the history
- More console based enhancements
- Enhanced error support information
- Show conversation title by default - (*console*)
  • Loading branch information
Simatwa committed Dec 23, 2023
1 parent 62f4e28 commit b3bfc73
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WebChatGPT/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def chat():
)
@click.option("--prettify/--raw", default=True, help="Prettify the markdowned response")
@click.option(
"--show-title/--no-title", default=False, help="Flag for title generation control"
"--show-title/--no-title", default=True, help="Flag for title generation control"
)
def interactive(
cookie_path,
Expand Down
2 changes: 1 addition & 1 deletion WebChatGPT/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_request_headers_and_append_auth(self) -> dict:
@error_handler(
exit_on_error=True,
raise_err=True,
info="Probably you passed invalid path to cookies or your cookies have expired. "
info="Probably you passed invalid path to .json file containing cookies for `chat.openai.com` . "
+ __common_error_support_info,
)
def get_cookies(path: str) -> dict:
Expand Down
10 changes: 9 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,12 @@ More console chat manipulation features.
**What's new?**
- Support streaming response
- Stream response at console - (*default*)
- Specify stdout font color at console
- Specify stdout font color at console

## v0.1.7

**Wha's new?**
- Verify cookies expiry state
- More console based enhancements
- Enhanced error support information
- Show conversation title by default - (*console*)

0 comments on commit b3bfc73

Please sign in to comment.