Skip to content

Conversation

@lingtonglu
Copy link
Contributor

No description provided.

@lingtonglu lingtonglu requested a review from wilsonccccc July 18, 2025 05:06
@lingtonglu lingtonglu requested a review from wilsonccccc July 19, 2025 08:06
input_tokens=input_tokens,
output_tokens=output_tokens,
)
finally:
Copy link
Contributor

@wilsonccccc wilsonccccc Jul 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't we need finally?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I missed that. Let me create a asynccontextmanager function to handle the close. And we could reuse it.

@wilsonccccc
Copy link
Contributor

Overall LGTM, once check the last few comments, I think it is good to go

@lingtonglu lingtonglu requested a review from wilsonccccc July 20, 2025 05:13
@wilsonccccc wilsonccccc merged commit 13920d4 into TensorBlock:main Jul 20, 2025
3 checks passed
@lingtonglu lingtonglu deleted the async_db branch July 29, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants