Repository navigation
Conversation
… policy per connection
…tant # Conflicts: # core/crates/ffi/src/lib.rs # windows/docs/decisions/README.md # windows/src/TablePro.App/Strings/en-US/Resources.resw # windows/src/TablePro.Interop/Generated/tablepro_ffi.cs
…es, which the analyzers accept
… ended, and offer Fix in every query tab
…ply with its session
…typed while another saves
… key save, and drop stale Retry buttons
… focus the composer once it loads
datlechin
enabled auto-merge (squash)
November 18, 2026 08:56
…lists, and pick the model by its item
This branch has not been deployed
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
Core::ai_assistant()gives anAiAssistantover theaicrate: keys kept in the core's secret store and never handed back, models listed, a conversation's system prompt read from the session's catalog (never a row), and a streamedAiReplydrained like a query run.ai.blocked). A hosted provider always goes to its own address. A reply stops with its session.AiErrorcrosses with its host, status and provider inErrorInfo.ai.tablepro-aitakes the key it sent out of any error text a server or the transport wrote, so a server that echoes the key cannot show it. Linux gets this too; it has no fragment whilelinux/is frozen for 0.1.0.ConnectionRecord.ai_policyreads the saved policy back. On a save, None keeps the stored one.linux/crates/app. Inline suggestions are not part of W-57.Test plan
cargo test -p tablepro-ffi -p tablepro-ai: all pass, includingtests/ai.rsagainst a local server. Covered: a key from the store, usage, a refused key with host and provider words, an echoed key redacted, a missing key, cancel, a reply stopped by its session's close, model list, the structure of the tables a question names (quoted names too) with no row in it, and Never refusing before any request.dotnet test --solution TablePro.slnx: 1052 passed after merging main. New:AiAssistantTests(Interop, real core and SQLite) andAssistantTests(App.Model). The App.Model tests cover consent rules per destination, conversation requests, reply Markdown, settings and the form's policy.QueryTabHistoryTestscovers Fix and the statement at the caret.AssistantTests, Windows CI) run against a fake Ollama server on 127.0.0.1. They cover the Settings section, the consent question and a streamed reply with its structure and Insert in editor, Explain then Review asking once, and Never showing the blocked pane with the commands disabled.