Repository navigation
Remove /ask, web search, and obsolete compatibility code - #62
Merged
Merged
Conversation
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.
Removes
/askand its tracked-thread workflows, all web-search routing, citation processing, configuration, and UI controls. Chat continues through mentions and explicit replies using the AI binding with current catalog model IDs.Removes the KV settings importer, unused bindings and secret references, compatibility endpoint and model alias routing, and superseded migration notes. Moves the settings editor and model catalog into the local-only dev bundle. Existing D1 tables, historical records, migration history, and Durable Object identity/state are preserved.
Adds migration 0004 to convert the saved settings document to version 2, retaining custom prompts and generation settings while removing search resources and normalizing model IDs. Initialization preserves existing D1 settings.
Validation:
pnpm run check;pnpm test(124 passed);pnpm run test:runtime; final production deployment dry run; regenerated platform stubs; JavaScript syntax check. Tests cover settings migration preservation/idempotency and time-sensitive prompts remaining ordinary chat requests. GitHub CI passed.Production rollout completed: migration 0004 applied and recorded through the Cloudflare plugin; saved settings verified against the expected migrated document; root production Worker deployed as version
b0edcd1f-fde0-44ed-96a4-df1dd92486feand confirmed serving 100% of traffic. Discord command registration refreshed with seven commands and no/ask. Live authentication checks passed, and the gateway is connected and resumable.