Skip to content

Commit

Permalink
add support for intro and deprecate context clear (#13)
Browse files Browse the repository at this point in the history
Co-authored-by: Anmol Singh <[email protected]>
  • Loading branch information
anmolsingh95 and Anmol Singh authored Aug 30, 2023
1 parent 92f00af commit 1e5fd5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "fastapi_poe"
version = "0.0.17"
version = "0.0.18"
authors = [
{ name="Lida Li", email="[email protected]" },
{ name="Jelle Zijlstra", email="[email protected]" },
Expand Down
5 changes: 3 additions & 2 deletions src/fastapi_poe/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class ReportErrorRequest(BaseRequest):


class SettingsResponse(BaseModel):
context_clear_window_secs: Optional[int] = None
allow_user_context_clear: bool = True
context_clear_window_secs: Optional[int] = None # deprecated
allow_user_context_clear: bool = True # deprecated
server_bot_dependencies: Dict[str, int] = Field(default_factory=dict)
allow_attachments: bool = False
introduction_message: str = ""

0 comments on commit 1e5fd5e

Please sign in to comment.