Repository navigation
Fix: Make the quick start work verbatim and quiet the server - #135
Merged
Merged
Conversation
The documented 'python -m api run server' ran the system Python after uv sync; the READMEs and the guide now say 'uv run --extra torch python -m api run server', and a CI job starts the server exactly that way and checks /api/version. Prompts, answers and the system prompt were printed to stdout; logging goes through gemstone.* loggers at GEMSTONE_LOG_LEVEL (INFO by default, prompts and answers only at DEBUG). Sessions expire after GEMSTONE_SESSION_TTL (default 24h) with their tool cache. A lifespan hook unloads the engines on shutdown. web_search no longer duplicates its dotenv and fallback blocks, and requests is a declared dependency.
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.
#120.
Defect fixed
uv run --extra torch python -m api run serverin READMEs, guide (getting-started, server, clients), SPEC, PROJECT; a CI jobquickstartstarts the server exactly so and checks/api/version.gemstone.*,GEMSTONE_LOG_LEVEL, prompts/answers only at DEBUG).GEMSTONE_SESSION_TTL(default 24h) with their tool cache.web_search.pyduplicates removed;requestsdeclared.Test added:
api/tests/test_ops_quickstart.py(18; red: 14 failed, 4 errors).Not done: a shutdown test with an open stream (unload waits for active leases); remaining prints in
registry.pyandutils/__init__.py.Rebased onto #131 (workflow conflict: kept the real_model marker run and added the quickstart job).
Closes #120