-
Notifications
You must be signed in to change notification settings - Fork 303
add token counter handler #520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dca2391 to
a2da5c5
Compare
a2da5c5 to
de3b9b6
Compare
…s of chat thread and pre-processing images
…ixing context files elements to be maximum 16px height
| <Form | ||
| disabled={disableSend} | ||
| className={className} | ||
| className={styles.chatForm__form} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import classNames from 'classnames'
className={classNames(style.chatForm__form, className)}| const { prompt_tokens } = currentThreadUsage; | ||
|
|
||
| return ( | ||
| <div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this need the div?
MarcMcIntosh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of small quesitons.
No description provided.