Skip to content

Commit

Permalink
Change the timeout for circle ci and add a fixme. (#2722)
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Treat <treat.adam@gmail.com>
  • Loading branch information
manyoso authored Jul 23, 2024
1 parent df510ef commit 765e055
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
- run:
name: Build
no_output_timeout: 30m
command: |
mkdir build
cd build
Expand Down Expand Up @@ -198,6 +199,7 @@ jobs:
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
- run:
name: Build
no_output_timeout: 30m
command: |
mkdir build
cd build
Expand Down Expand Up @@ -331,6 +333,7 @@ jobs:
cd linuxdeployqt && qmake && sudo make install
- run:
name: Build
no_output_timeout: 30m
command: |
set -eo pipefail
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
Expand Down Expand Up @@ -387,6 +390,7 @@ jobs:
cd linuxdeployqt && qmake && sudo make install
- run:
name: Build
no_output_timeout: 30m
command: |
set -eo pipefail
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
Expand Down Expand Up @@ -454,6 +458,7 @@ jobs:
dotnet tool install --global AzureSignTool
- run:
name: Build
no_output_timeout: 30m
command: |
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\x64"
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
Expand Down Expand Up @@ -584,6 +589,7 @@ jobs:
dotnet tool install --global AzureSignTool
- run:
name: Build
no_output_timeout: 30m
command: |
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\x64"
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
Expand Down
2 changes: 2 additions & 0 deletions gpt4all-chat/chatllm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ bool ChatLLM::handleQuestionResponse(int32_t token, const std::string &response)
m_questionResponse.append(response);

// match whole question sentences
// FIXME: This only works with response by the model in english which is not ideal for a multi-language
// model.
static const QRegularExpression reQuestion(R"(\b(What|Where|How|Why|When|Who|Which|Whose|Whom)\b[^?]*\?)");

// extract all questions from response
Expand Down

0 comments on commit 765e055

Please sign in to comment.