Skip to content

Commit

Permalink
Add changelog and remove stray comment.
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Treat <[email protected]>
  • Loading branch information
manyoso committed Jan 7, 2025
1 parent 7e6da77 commit 5e05a11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions gpt4all-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]
- Fix the timeout error in code interpreter ([#3369](https://github.com/nomic-ai/gpt4all/pull/3369))

## [3.6.1] - 2024-12-20

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion gpt4all-chat/src/codeinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void CodeInterpreterWorker::request(const QString &code)

const QJSValue result = m_engine.evaluate(code);

QString resultString; //= result.isUndefined() ? QString() : result.toString();
QString resultString;

if (m_engine.isInterrupted()) {
resultString = QString("Error: code execution was timed out as it exceeded %1 ms. Code must be written to ensure execution does not timeout.").arg(m_timeout);
Expand Down

0 comments on commit 5e05a11

Please sign in to comment.