[BOUNTY] Add /pipe Command (#66) and Token Stats (#64)#1
Open
[BOUNTY] Add /pipe Command (#66) and Token Stats (#64)#1
Conversation
added 2 commits
March 22, 2026 02:52
Added GPU detection and Metal status for discrete AMD GPUs: - _detect_gpu_info(): Detects discrete vs integrated GPUs on macOS - /status command: Shows GPU model, type, and Metal support status - apply-metal-fix.sh: Script to apply StorageModeManaged patch to llama.cpp - Tests: 12 test functions covering GPU detection, Metal support, error handling Tested hardware: - Mac Pro 2013 (AMD FirePro D500/D700) - iMac 2014-2019 (AMD Radeon) - MacBook Pro 2015-2019 (AMD Radeon Pro) Reference: ggml-org/llama.cpp#20615 Wallet: 0xc0A7b634A8b5Ff3a7F310D7cCC786FE3f6270B1f7
…cottcjn#66) Features implemented: - /pipe command: Save last assistant response to file - Usage: /pipe [filename] - Auto-generates timestamp-based filename if not provided - Shows file path, size, and line count after saving - Enhanced /status command: Shows last generation stats - Displays [X.X tok/s | XXX tokens | X.Xs] format - Shows both session stats and last turn stats Implementation details: - Uses existing LAST_ASSISTANT_RESPONSE variable - Uses existing LAST_GENERATION_STATS and SESSION_STATS - No external dependencies added - Fixed global declaration syntax error Wallet: 孙备
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.
实现功能
Scottcjn#66 - /pipe 命令(5 RTC)
Scottcjn#64 - Token 速度显示(10 RTC)
总奖金:15 RTC
测试
关联 Issue