mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Change the timeout for circle ci and add a fixme. (#2722)
Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
parent
df510ef869
commit
765e055597
@ -67,6 +67,7 @@ jobs:
|
|||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -198,6 +199,7 @@ jobs:
|
|||||||
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
|
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$MAC_KEYCHAIN_KEY" sign.keychain
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -331,6 +333,7 @@ jobs:
|
|||||||
cd linuxdeployqt && qmake && sudo make install
|
cd linuxdeployqt && qmake && sudo make install
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
|
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
|
||||||
@ -387,6 +390,7 @@ jobs:
|
|||||||
cd linuxdeployqt && qmake && sudo make install
|
cd linuxdeployqt && qmake && sudo make install
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
|
export CMAKE_PREFIX_PATH=~/Qt/6.5.1/gcc_64/lib/cmake
|
||||||
@ -454,6 +458,7 @@ jobs:
|
|||||||
dotnet tool install --global AzureSignTool
|
dotnet tool install --global AzureSignTool
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
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\x64"
|
||||||
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
|
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
|
||||||
@ -584,6 +589,7 @@ jobs:
|
|||||||
dotnet tool install --global AzureSignTool
|
dotnet tool install --global AzureSignTool
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
|
no_output_timeout: 30m
|
||||||
command: |
|
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\x64"
|
||||||
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
|
$Env:PATH = "${Env:PATH};C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64"
|
||||||
|
@ -958,6 +958,8 @@ bool ChatLLM::handleQuestionResponse(int32_t token, const std::string &response)
|
|||||||
m_questionResponse.append(response);
|
m_questionResponse.append(response);
|
||||||
|
|
||||||
// match whole question sentences
|
// 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[^?]*\?)");
|
static const QRegularExpression reQuestion(R"(\b(What|Where|How|Why|When|Who|Which|Whose|Whom)\b[^?]*\?)");
|
||||||
|
|
||||||
// extract all questions from response
|
// extract all questions from response
|
||||||
|
Loading…
Reference in New Issue
Block a user