Skip to content

Commit d90a7df

Browse files
fixed rate limit error
1 parent 9d12bb9 commit d90a7df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/App/src/components/Chat/Chat.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ const Chat: React.FC<ChatProps> = ({
7373
payload: true,
7474
});
7575

76-
if (((reqType !== 'graph' && reqType !== 'error') || messages[messages.length - 1].role !== ERROR) && isCharthDisplayDefault ){
77-
76+
if (((reqType !== 'graph' && reqType !== 'error') && messages[messages.length - 1].role !== ERROR) && isCharthDisplayDefault ){
7877
setIsChartLoading(true);
7978
setTimeout(()=>{
8079
makeApiRequestForChart('show in a graph by default', convId, messages[messages.length - 1].content as string)

0 commit comments

Comments
 (0)