Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
eyurtsev committed May 24, 2024
1 parent 077e481 commit 4995d76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions langserve/api_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _create_metadata_event(
data["feedback_tokens"] = [
{
"key": feedback_key,
"token_url": feedback_ingest_token.token_url,
"token_url": feedback_ingest_token.url,
"expires_at": expires_at,
}
]
Expand Down Expand Up @@ -852,7 +852,7 @@ async def invoke(
feedback_tokens=[
FeedbackToken(
key=feedback_key,
url=feedback_token.token_url,
token_url=feedback_token.url,
expires_at=feedback_token.expires_at.isoformat(),
)
]
Expand Down Expand Up @@ -999,7 +999,7 @@ async def batch(
feedback_tokens=[
FeedbackToken(
key=feedback_key,
url=feedback_token.token_url,
token_url=feedback_token.url,
expires_at=feedback_token.expires_at.isoformat(),
)
],
Expand Down

0 comments on commit 4995d76

Please sign in to comment.