Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "setuptools.build_meta"

[project]
name = "promptlab"
version = "0.1.6"
version = "0.1.7"
description = "PromptLab is a free, lightweight, open-source experimentation tool for Gen AI applications."
readme = "README.md"
authors = [{name = "ra1han", email = "hello@pl.com"}]
Expand Down
2 changes: 1 addition & 1 deletion src/promptlab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from promptlab.core import PromptLab
from promptlab.model.model import Model

__version__ = "0.1.3"
__version__ = "0.1.7"

__all__ = [
"PromptLab",
Expand Down
2 changes: 1 addition & 1 deletion src/promptlab/studio/studio_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, tracer: Tracer):
"WARNING: SECRET_KEY should be at least 32 characters long for security."
)
self.ALGORITHM = "HS256"
self.ACCESS_TOKEN_EXPIRE_MINUTES = 60
self.ACCESS_TOKEN_EXPIRE_MINUTES = 30 * 24 * 60 # 30 days in minutes
self.app.add_middleware(
CORSMiddleware,
allow_origins=["*"],
Expand Down