Display first-run welcome message to users#48
Merged
Conversation
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Co-authored-by: yiwang <142937+yiwang@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix display issues with first time welcome message
Display first-run welcome message to users
Feb 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The welcome message was defined and included in system context (LLM-side) but never displayed to users in any interface.
Changes
Core API (
localgpt-core/agent/mod.rs):FIRST_RUN_WELCOMEconstant as publicAgent::is_brand_new()andAgentHandle::is_brand_new()methodsCLI & Desktop (
localgpt-cli):SystemMessageto desktop GUI workerServer (
localgpt-server):is_brand_newfield to HTTP/api/statusresponseMobile (
localgpt-mobile):is_brand_new()method toLocalGPTClientget_welcome_message()standalone function for iOS/AndroidExample
The
is_brand_newflag is set duringMemoryManagerinitialization when all key files (MEMORY.md, HEARTBEAT.md, SOUL.md) are missing, ensuring the welcome appears only on the actual first run.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.pyke.io/home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-4fb9e0debc451c7c/build-script-main /home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-4fb9e0debc451c7c/build-script-main --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie /build_script_build-d7337309cbac776c.build_script_build.ca7b3ca7c720d6a6-cgu.0.rcfg(feature, values()) /build_script_build-d7337309cbac776c.cggvyirllky4x4tpfu3nz47xu.rcgu.o -fuse-ld=lld -z 64-REDACTED-linux-gnu/lib/libstd-6455781cbbf0c25c.rlib 64-REDACTED-linux-gnu/lib/libpanic_unwind-9ea6681249c86daa.rlib 64-REDACTED-linux-gnu/lib/libobject-49a13cd1c17ee472.rlib 64-REDACTED-linux-gnu/lib/libmemchr-80c0d200aa1c5414.rlib 64-REDACTED-linux-gnu/lib/libaddr2line-ed0d1665fe189213.rlib 64-REDACTED-linux-gnu/lib/libgimli-82f3ba019c4b6344.rlib 64-REDACTED-linux-gnu/lib/libcfg_if-b8a9625d47e2e3c0.rlib 64-REDACTED-linux-gnu/lib/librustc_demangle-c04f2c50d366d1be.rlib 64-REDACTED-linux-gnu/lib/libstd_detect-27563b08da68095e.rlib 64-REDACTED-linux-gnu/lib/libhashbrown-77a21fecb79c0678.rlib(dns block)/home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-032f84643275bd6f/build-script-main /home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-032f84643275bd6f/build-script-main -I /home/REDACTED/work/localgpt/localgpt/target/debug/build/onig_sys-5ed3bba6fd2d6308-z -I oniguruma/src /out/libonig.a /out/a445302c6d3dcb51-regexec.o /out/a445302c6d3dcb51-regerror.o /out/a445302c6d3dcb51-regparse.o /out/a445302c6d3dcb51-regext.o /out/a445302c6d3dcb51-regcomp.o /out/a445302c6d3dcb51-reggnu.o /out/a445302c6d3dcb51-regenc.o /out/a445302c6d3dcb51-regsyntax.o /out/a445302c6d3dcb51-regtrav.o /out/a445302c6d3dcb51-regversion.o /out/a445302c6d3dcb51-st.o /out/a445302c6d3dcb51-onig_init.o /out/a445302c6d3dcb51-unicode.o /out/a445302c6d3dcb51-ascii.o(dns block)/home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-0cb9c8be1593958c/build-script-main /home/REDACTED/work/localgpt/localgpt/target/debug/build/ort-sys-0cb9c8be1593958c/build-script-main /home/REDACTED/work/localgpt/localgpt/target/debug/build/onig_sys-ef1816382bd16b0d/home/REDACTED/work/localgpt/localgpt/target/debug/build/onig_sys-ef1816382bd16b0d/out/a445302c6d3dcb51-regversion.o /tmp/cc954peW.s -c ef18�� ef1816382bd16b0d-g /out -1949cf8c6b5b557-fno-omit-frame-pointer /index.crates.iocc -1949cf8c6b5b557-O0 /index.crates.io-ffunction-sections -1949cf8c6b5b557-fdata-sections /out/a445302c6d3dcb51-unicode_fold2_key.o f/aws-lc-sys-0.3-g /index.crates.io-gdwarf-4 f/aws-lc-sys-0.3-fno-omit-frame-pointer _party/s2n-bignuas f/aws-lc-sys-0.3-W pointer f/aws-lc-sys-0.3/home/REDACTED/work/localgpt/localgpt/target/debug/build/onig_sys-ef1816382bd16b0d/home/REDACTED/work/localgpt/localgpt/target/debug/build/onig_sys-ef1816382bd16b0d/out/a445302c6d3dcb51-regext.o(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.