mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
Updated with active subscription
This commit is contained in:
parent
808a0fa6fc
commit
8271fedb78
15 changed files with 121 additions and 240 deletions
|
|
@ -106,6 +106,7 @@ def prompt_completion(
|
|||
db: Session = Depends(deps.get_db),
|
||||
current_user: models.User = Security(
|
||||
deps.get_current_user,
|
||||
deps.get_active_subscription,
|
||||
),
|
||||
) -> OpenAICompletion | StreamingResponse:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue