Repository navigation
Add AI-generated SEO descriptions via Ollama Cloud - #16
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
cms-kb | e1e5ea6 | Oct 23 2026, 05:16 PM |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
kiran-brahma
marked this pull request as ready for review
October 23, 2026 17:44
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
Adds a "Generate with AI" button to the SEO / GEO editor that drafts a 120–140 character description from a post's title and content using Ollama Cloud. Connection details live in a new Settings → AI assistant section (API key, address, model, optional extra instructions) and are saved in D1.
ai_settingstable (migration0025), never returned to the browser (only the last 4 characters), and changing the address requires re-entering it.POST {address}/api/chatwith a Bearer key, retries up to 3 times with a length correction, and only returns an answer that is 120–140 characters; otherwise it errors and nothing is written to the field.AGENTS.md.Related issue
None.
Testing
yarn check— not run (yarnis unavailable in this environment).tsc --noEmitandastro check: clean.tests/worker/ai-settings.test.ts.tests/unit/character-search-migration.test.tsfails with or without this change (verified with the migration removed).Screenshots
N/A (not captured; UI is a new settings card and a button under the SEO description field).
Risks
0025to D1 before use.BETTER_AUTH_SECRETmakes the saved key unreadable; re-enter it.httpshost (admin-only, same-origin enforced by middleware).Checklist
🤖 Generated with Claude Code