Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Proxy and SSL Config Options to Python SDK #3180

Open
wants to merge 112 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
e8003c8
Add proxy and SSL config options
cgivre Nov 11, 2024
a00b012
Added args to additional method
cgivre Nov 11, 2024
88ef003
Remove binary state from high-level API and use Jinja templates (#3147)
cebtenzzre Nov 25, 2024
c7c99a1
Fixups for Jinja PR (#3215)
cebtenzzre Dec 4, 2024
0ae1ae3
ci: do not run online installer or publish jobs on PR branches (#3217)
cebtenzzre Dec 4, 2024
1ed30da
llamamodel: add missing softmax to fix temperature (#3202)
cebtenzzre Dec 4, 2024
2cad0d7
chat: cut v3.5.0-rc1 release candidate (#3218)
cebtenzzre Dec 4, 2024
87b5127
add changelog entries for Jinja PR (#3223)
cebtenzzre Dec 6, 2024
49363ed
changelog: add more changes from #3147 (#3226)
cebtenzzre Dec 6, 2024
db4d975
Animate the removal of chat items when editing prompts. (#3227)
manyoso Dec 6, 2024
4807e6a
qml: tweaks to new edit/redo buttons (#3228)
cebtenzzre Dec 6, 2024
3b26a65
chat: cut v3.5.0-rc2 release candidate (#3229)
cebtenzzre Dec 6, 2024
a1e38da
chat: run update_translations for v3.5.0 (#3230)
cebtenzzre Dec 6, 2024
7a71600
changelog: fix parenthesis
cebtenzzre Dec 9, 2024
f325cea
Italian localization update (#3236)
Harvester62 Dec 9, 2024
38c1ab2
fixups for GPT4All v3.5.0-rc2 (#3239)
cebtenzzre Dec 9, 2024
3912990
update Romanian translation for v3.5.0 (#3232)
SINAPSA-IC Dec 9, 2024
9a64f52
chat: cut v3.5.0 release (#3240)
cebtenzzre Dec 9, 2024
d11e18c
chat: release v3.5.0 (#3241)
cebtenzzre Dec 9, 2024
f5cee70
Bump version to v3.5.1-dev0 (#3242)
manyoso Dec 9, 2024
ee9dd88
chatmodel: fix incorrect currentResponse argument (#3245)
cebtenzzre Dec 9, 2024
d8f141a
Fix the z-ordering of the home button. (#3246)
manyoso Dec 9, 2024
0107a8c
metadata: fix typos in release notes
cebtenzzre Dec 10, 2024
6077c39
fix several bad chat templates (#3250)
cebtenzzre Dec 10, 2024
e647581
models3: fix Llama 3.2 chat template (#3251)
cebtenzzre Dec 10, 2024
66c9ffe
changelog: add PR #3251
cebtenzzre Dec 10, 2024
b5d67d1
Update changlog and version to make 3.5.1 hotfix release. (#3252)
manyoso Dec 10, 2024
337afa0
Release notes and latestnews for v3.5.1. (#3253)
manyoso Dec 10, 2024
52e8ea4
Bump the version to 3.5.2-dev0. (#3254)
manyoso Dec 10, 2024
167e0de
latestnews: make it more compact
cebtenzzre Dec 12, 2024
cc30175
Fix local server regressions caused by Jinja PR (#3256)
cebtenzzre Dec 13, 2024
e4b0a8d
modellist: fix cloning of chat template and system message (#3262)
cebtenzzre Dec 13, 2024
816158b
StartupDialog: fix two untranslated strings (#3293)
cebtenzzre Dec 13, 2024
b988e82
Break the explore models view into two. (#3269)
manyoso Dec 13, 2024
9eea8b7
chat: cut v3.5.2 release (#3292)
cebtenzzre Dec 13, 2024
383a99b
fix chatmodel.h #includes
cebtenzzre Dec 13, 2024
3218466
ci: attempt to fix Ubuntu build
cebtenzzre Dec 13, 2024
c6f01e0
chat: release version 3.5.2 (#3296)
cebtenzzre Dec 14, 2024
200c5a9
chat: fix localdocs breakage in v3.5.2 (#3302)
cebtenzzre Dec 16, 2024
6fedb79
New v3.5.3 hotfix release. (#3304)
manyoso Dec 16, 2024
e1a9048
ci: downgrade Windows image to fix build (#3306)
cebtenzzre Dec 16, 2024
0b029fa
chat: release version 3.5.3 (#3307)
cebtenzzre Dec 16, 2024
cf342e1
chat: bump version to 3.5.4-dev0
cebtenzzre Dec 16, 2024
cb00613
Update maintainers. (#3322)
manyoso Dec 18, 2024
11c285f
Fix for remote model templates when messages contain xml. (#3318)
manyoso Dec 18, 2024
6b1a140
Fix Jinja2Cpp bug that broke system msg detection in templates (#3325)
cebtenzzre Dec 19, 2024
1ba56b2
chatmodel: fix sources showing as unconsolidated in UI (#3328)
cebtenzzre Dec 19, 2024
33d7166
Code interpreter (#3173)
manyoso Dec 19, 2024
0f95f7c
modellist: automatically replace known chat templates with our versio…
cebtenzzre Dec 19, 2024
0c2c15e
undo unintentional partial revert of #3173
cebtenzzre Dec 19, 2024
b2b9be4
Release of 3.6.0. (#3329)
manyoso Dec 19, 2024
ac08448
qml: fix missing localdocs and prefill progress (#3330)
cebtenzzre Dec 19, 2024
0e5e4ce
Release notes and latestnews for v3.6.0, and bump version. (#3331)
manyoso Dec 19, 2024
d0d857d
ChatView: make "stop" and "copy conversation" work again (#3336)
manyoso Dec 20, 2024
a49c2cf
Release notes for v3.6.1 and bump version (#3339)
manyoso Dec 20, 2024
6499f27
updated settings page (#3368)
mcembalest Jan 7, 2025
5b8bd22
fix: format of language and locale setting (#3370)
mcembalest Jan 7, 2025
68d4ed7
Properly report that the computation was timedout to the model (#3369)
manyoso Jan 7, 2025
1cb34d1
code interpreter: support variadic console.log (#3371)
cebtenzzre Jan 7, 2025
5cd0bd1
chat templates: work around Jinja2Cpp issue with 'not X is defined' (…
cebtenzzre Jan 7, 2025
8ffac8f
jinja2cpp: update submodule for else/endif crash fix (#3373)
cebtenzzre Jan 8, 2025
dd0cef2
Update README.md - brokenlink (#3380)
AndriyMulyar Jan 10, 2025
4c1c026
Save chats on quit, even if window isn't closed first (#3387)
cebtenzzre Jan 16, 2025
ced514c
ci: use the shared 'gpt4all' context for environment variables (#3392)
cebtenzzre Jan 17, 2025
e629721
Add more chat template substitutions (#3393)
cebtenzzre Jan 21, 2025
7336de3
jinja2cpp: update submodule for partial subscript crash fix (#3394)
cebtenzzre Jan 21, 2025
0acdeee
Sign maintenancetool.app on macOS (#3391)
cebtenzzre Jan 21, 2025
e509457
add Windows ARM build (#3385)
cebtenzzre Jan 21, 2025
2ad4aea
ci: add missing context to Windows ARM builds (#3400)
cebtenzzre Jan 21, 2025
db36e30
Italian localization update (#3389)
Harvester62 Jan 21, 2025
f6399a3
jinja2cpp: update submodule for 'not X is defined' fix (#3402)
cebtenzzre Jan 21, 2025
f0ebabd
jinja2cpp: update submodule to fix unused var (#3403)
cebtenzzre Jan 22, 2025
5ee9b97
Bump version for 3.7.0 release. (#3401)
manyoso Jan 21, 2025
58515cf
changelog: add missing link
cebtenzzre Jan 22, 2025
35d9936
changelog: fix reference to wrong macOS version
cebtenzzre Jan 22, 2025
c13b71f
ci: fix macOS codesigning (#3408)
cebtenzzre Jan 23, 2025
8023ba2
chat: release version 3.7.0 (#3407)
cebtenzzre Jan 23, 2025
9809a2a
metadata: fix typo
cebtenzzre Jan 23, 2025
9641b47
chat: bump version to v3.7.1-dev0
cebtenzzre Jan 23, 2025
881ac19
Fix regression while using localdocs with server API. (#3410)
manyoso Jan 24, 2025
2230628
Server view fix (#3411)
manyoso Jan 24, 2025
45a171c
Update to Qt 6.8.1 (#3386)
cebtenzzre Jan 24, 2025
62a5623
cmake: do not modify gpt4all.app after signing it (#3413)
cebtenzzre Jan 24, 2025
722dcb0
Revert "cmake: do not modify gpt4all.app after signing it (#3413)"
cebtenzzre Jan 24, 2025
919b415
cmake: do not modify gpt4all.app after signing it (#3417)
cebtenzzre Jan 24, 2025
a71fed7
codeinterpreter: permit console.log with single string arg (#3426)
cebtenzzre Jan 27, 2025
b5670ae
[Jinja] Fix typo in Phi-3.1-mini-128k-instruct replacement template (…
ThiloteE Jan 28, 2025
e607840
ci: selective signing and automatic release builds (#3430)
cebtenzzre Jan 28, 2025
32badd2
Support DeepSeek-R1 Qwen (#3431)
cebtenzzre Jan 29, 2025
4207680
ci: verify that installers we build function and are signed (#3432)
cebtenzzre Jan 29, 2025
0db1651
Don't block the gui thread for tool calls (#3435)
manyoso Jan 29, 2025
92ada07
ci: build offline installers when pipeline is scheduled (#3436)
cebtenzzre Jan 30, 2025
44b059b
chat: bump version to 3.8.0-dev0
cebtenzzre Jan 30, 2025
0ea95f3
ci: add missing signing holds to Windows ARM builds
cebtenzzre Jan 30, 2025
4e0fda7
chat: replace Jinja2Cpp with minja (#3433)
cebtenzzre Jan 30, 2025
f8b65c5
Display DeepSeek-R1 thinking like Reasoner (#3440)
manyoso Jan 30, 2025
8e055e9
models: add DeepSeek-R1 distillations to official models list (#3437)
cebtenzzre Jan 30, 2025
f8d5224
chat: cut v3.8.0 release (#3441)
cebtenzzre Jan 30, 2025
6b76d6d
ci: remove conflicting pipeline.git.branch requirement
cebtenzzre Jan 30, 2025
436e6de
ci: fix missing job_allow_tags
cebtenzzre Jan 30, 2025
1a11860
ci: allow generate-config to run on tags
cebtenzzre Jan 30, 2025
8c65950
chat: fix emoji corruption (#3443)
cebtenzzre Jan 30, 2025
81f9624
remove ancient README
cebtenzzre Jan 31, 2025
f348050
chat: release version 3.8.0 (#3439)
cebtenzzre Jan 31, 2025
02ee873
ci: update to Qt 6.8.2 (#3442)
cebtenzzre Jan 31, 2025
568c8a1
cmake: remove reference to deleted README
cebtenzzre Jan 31, 2025
3d01855
Fix index used by LocalDocs when tool calling/thinking is active (#3451)
cebtenzzre Feb 3, 2025
7cdc0bc
minja: update submodule to fix `{#` hang (#3446)
cebtenzzre Feb 3, 2025
31753d4
chat: work around Direct3D 11 rendering artifacts on win11 arm (#3450)
cebtenzzre Feb 3, 2025
498e651
Revert "minja: update submodule to fix `{#` hang (#3446)"
cebtenzzre Feb 3, 2025
5bfc071
Update README.md
AndriyMulyar Feb 3, 2025
668214a
Fix rebase conflicts
cgivre Feb 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "cmake: do not modify gpt4all.app after signing it (#3413)"
This reverts commit c01ac7f.

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
cebtenzzre authored and cgivre committed Feb 4, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 722dcb04b53729031d231451e2a36b2e1867846c
2 changes: 0 additions & 2 deletions gpt4all-chat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Fixed
- Fix regression while using localdocs with server API ([#3410](https://github.com/nomic-ai/gpt4all/pull/3410))
- Don't show system messages in server chat view ([#3411](https://github.com/nomic-ai/gpt4all/pull/3411))
- Fix `codesign --verify` failure on macOS ([#3413](https://github.com/nomic-ai/gpt4all/pull/3413))

## [3.7.0] - 2025-01-21

@@ -271,7 +270,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- Fix several Vulkan resource management issues ([#2694](https://github.com/nomic-ai/gpt4all/pull/2694))
- Fix crash/hang when some models stop generating, by showing special tokens ([#2701](https://github.com/nomic-ai/gpt4all/pull/2701))

[Unreleased]: https://github.com/nomic-ai/gpt4all/compare/v3.7.0...HEAD
[3.7.0]: https://github.com/nomic-ai/gpt4all/compare/v3.6.1...v3.7.0
[3.6.1]: https://github.com/nomic-ai/gpt4all/compare/v3.6.0...v3.6.1
[3.6.0]: https://github.com/nomic-ai/gpt4all/compare/v3.5.3...v3.6.0
26 changes: 10 additions & 16 deletions gpt4all-chat/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -445,18 +445,12 @@ endif()

# -- install --

if (APPLE)
set(GPT4ALL_LIB_DEST bin/gpt4all.app/Contents/Frameworks)
else()
set(GPT4ALL_LIB_DEST lib)
endif()

install(TARGETS chat DESTINATION bin COMPONENT ${COMPONENT_NAME_MAIN})

install(
TARGETS llmodel
LIBRARY DESTINATION ${GPT4ALL_LIB_DEST} COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION bin COMPONENT ${COMPONENT_NAME_MAIN} # .dll
LIBRARY DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION bin COMPONENT ${COMPONENT_NAME_MAIN} # .dll
)

# We should probably iterate through the list of the cmake for backend, but these need to be installed
@@ -479,8 +473,8 @@ endif()

install(
TARGETS ${MODEL_IMPL_TARGETS}
LIBRARY DESTINATION ${GPT4ALL_LIB_DEST} COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .dll
LIBRARY DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .dll
)

if(APPLE AND GPT4ALL_SIGN_INSTALL)
@@ -509,7 +503,7 @@ if (LLMODEL_CUDA)
TARGETS llamamodel-mainline-cuda
llamamodel-mainline-cuda-avxonly
RUNTIME_DEPENDENCY_SET llama-cuda-deps
LIBRARY DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .so
LIBRARY DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN} # .dll
)
if (WIN32)
@@ -525,11 +519,11 @@ endif()

if (NOT GPT4ALL_USING_QTPDF)
# Install PDFium
install(
FILES ${PDFium_LIBRARY}
LIBRARY DESTINATION ${GPT4ALL_LIB_DEST} COMPONENT ${COMPONENT_NAME_MAIN} # .so/.dylib
RUNTIME DESTINATION bin COMPONENT ${COMPONENT_NAME_MAIN} # .dll
)
if (WIN32)
install(FILES "${PDFium_LIBRARY}" DESTINATION bin COMPONENT ${COMPONENT_NAME_MAIN})
else()
install(FILES "${PDFium_LIBRARY}" DESTINATION lib COMPONENT ${COMPONENT_NAME_MAIN})
endif()
endif()

if (NOT APPLE)
6 changes: 6 additions & 0 deletions gpt4all-chat/cmake/deploy-qt-mac.cmake.in
Original file line number Diff line number Diff line change
@@ -8,6 +8,12 @@ if (GPT4ALL_SIGN_INSTALL)
set(MAC_NOTARIZE -sign-for-notarization=${GPT4ALL_SIGNING_ID})
endif()
execute_process(COMMAND ${MACDEPLOYQT} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app -qmldir=${CMAKE_CURRENT_SOURCE_DIR} -verbose=2 ${MAC_NOTARIZE})
file(GLOB MYLLAMALIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libllama*)
file(GLOB MYLLMODELLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/libllmodel.*)
file(COPY ${MYLLAMALIBS}
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
file(COPY ${MYLLMODELLIBS}
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/gpt4all.app/Contents/Frameworks)
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/gpt4all-32.png"
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/gpt4all-48.png"
23 changes: 12 additions & 11 deletions gpt4all-chat/src/main.cpp
Original file line number Diff line number Diff line change
@@ -88,18 +88,19 @@ int main(int argc, char *argv[])
#endif

// set search path before constructing the MySettings instance, which relies on this
{
auto appDirPath = QCoreApplication::applicationDirPath();
QStringList searchPaths {
#ifdef Q_OS_DARWIN
u"%1/../Frameworks"_s.arg(appDirPath),
#else
appDirPath,
u"%1/../lib"_s.arg(appDirPath),
QString llmodelSearchPaths = QCoreApplication::applicationDirPath();
const QString libDir = QCoreApplication::applicationDirPath() + "/../lib/";
if (LLM::directoryExists(libDir))
llmodelSearchPaths += ";" + libDir;
#if defined(Q_OS_MAC)
const QString binDir = QCoreApplication::applicationDirPath() + "/../../../";
if (LLM::directoryExists(binDir))
llmodelSearchPaths += ";" + binDir;
const QString frameworksDir = QCoreApplication::applicationDirPath() + "/../Frameworks/";
if (LLM::directoryExists(frameworksDir))
llmodelSearchPaths += ";" + frameworksDir;
#endif
};
LLModel::Implementation::setImplementationsSearchPath(searchPaths.join(u';').toStdString());
}
LLModel::Implementation::setImplementationsSearchPath(llmodelSearchPaths.toStdString());

// Set the local and language translation before the qml engine has even been started. This will
// use the default system locale unless the user has explicitly set it to use a different one.