Skip to content

Commit

Permalink
Remove unused variable and fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FloRul committed Mar 20, 2024
1 parent 4165ba1 commit 1e4cf9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lambdas/inference/src/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ def lambda_handler(event, context):
source = event.get("queryStringParameters", {}).get("source", "message")
embedding_collection_name = event["queryStringParameters"]["collectionName"]

enable_history = False

sessionId = uuid.uuid1()

if "sessionId" in event["queryStringParameters"]:
sessionId = event["queryStringParameters"]["sessionId"]

Expand Down

0 comments on commit 1e4cf9d

Please sign in to comment.