Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
msveshnikov committed Mar 19, 2024
1 parent a7523d4 commit 1f9bfc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getImageTitan } from "./aws.js";
import hasPaintWord from "./paint.js";
import pdfParser from "pdf-parse";

const MAX_CONTEXT_LENGTH = 4000;
const MAX_CONTEXT_LENGTH = 8000;

const app = express();
app.use(cors());
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function App() {
</ListItem>
</div>
</Drawer>
<Container maxWidth="md" style={{ display: "flex", flexDirection: "column", height: "90vh" }}>
<Container maxWidth="md" style={{ display: "flex", flexDirection: "column", height: "93vh" }}>
<Box flex={1} overflow="auto" padding={2} display="flex" flexDirection="column" ref={chatContainerRef}>
{chatHistory.map((chat, index) => (
<Box
Expand Down

0 comments on commit 1f9bfc5

Please sign in to comment.