Skip to content

Commit

Permalink
progress: shorter samples
Browse files Browse the repository at this point in the history
  • Loading branch information
getnashty committed Dec 6, 2024
1 parent 0d26de8 commit 439ef55
Show file tree
Hide file tree
Showing 2 changed files with 139 additions and 131 deletions.
4 changes: 2 additions & 2 deletions src/modules/AieraChat/Messages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export function Messages({
let counter = 0;
const interval = setInterval(() => {
let status = ChatMessageStatus.STREAMING;
if (counter++ > 80) {
if (counter++ > 45) {
clearInterval(interval);
status = ChatMessageStatus.COMPLETED;
}
Expand Down Expand Up @@ -259,7 +259,7 @@ export function Messages({
let counter = 0;
const interval = setInterval(() => {
let status = ChatMessageStatus.STREAMING;
if (counter++ > 80) {
if (counter++ > 45) {
clearInterval(interval);
status = ChatMessageStatus.COMPLETED;
}
Expand Down
Loading

0 comments on commit 439ef55

Please sign in to comment.