Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed May 31, 2024
1 parent ef79179 commit 086acb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion pipelines/examples/example_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ async def inlet(self, body: dict, user: dict) -> dict:

async def outlet(self, body: dict, user: dict) -> dict:
# This function is called after the OpenAI API response is completed. You can modify the messages after they are received from the OpenAI API.

print(f"outlet:{__name__}")

print(body)
Expand Down
2 changes: 1 addition & 1 deletion pipelines/examples/rate_limit_filter_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,5 @@ async def inlet(self, body: dict, user: Optional[dict] = None) -> dict:
if self.rate_limited(user_id):
raise Exception("Rate limit exceeded. Please try again later.")

self.log_request(user_id)
self.log_request(user_id)
return body

0 comments on commit 086acb5

Please sign in to comment.