Repository navigation
Conversation
…anup Add Ollama /api/generate client with gemma3:1b default; route by endpoint and keys; config ai-completion-backend (ollama/chat/auto); migrate no-key users off default cloud URLs; trim markdown/punctuation from suggestions; tests and README updates. Made-with: Cursor
Recognize common markdown fence language tags, remove opening fence + lang line first, then existing suffix/quote cleanup. Adds regression tests. Made-with: Cursor
Remove trailing ", ', and ` only when the same character wraps the whole string (utf8-safe). Fix markdown fence handling so symmetric ``` blocks strip correctly without leaving a stray closing fence. Made-with: Cursor
Made-with: Cursor
Port Gemini StreamGenerate client directly into Go so ?-queries work without API keys or a local proxy. Keep Ollama and chat backends as opt-in alternatives. Co-authored-by: Cursor <[email protected]>
Run gofumpt/gci across touched files, lowercase Gemini/Ollama error strings for ST1005, and add a lightweight fork-ci workflow for eSlider/hishtory. Co-authored-by: Cursor <[email protected]>
…ession anchor' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Cursor <[email protected]>
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.
Summary
StreamGenerate) client so?queries work without API keys or running a separate proxy servicegeminifor new installs and upgrades without cloud API keys; Ollama remains available viahishtory config-set ai-completion-backend ollamagemini,ollama,chat,auto)Test plan
go test github.com/ddworken/hishtory/shared/ai(unit + mock Gemini)GEMINI_LIVE_TEST=1 go test ... -run TestLiveGeminiWebagainst gemini.google.comgo install .Made with Cursor