[19.0][MIG] ai_connection: Migration to 19.0 - #111
Open
volkantasci wants to merge 7 commits into
Open
Conversation
This was referenced Sep 1, 2026
Currently translated at 100.0% (14 of 14 strings) Translation: ai-18.0/ai-18.0-ai_connection Translate-URL: https://translation.odoo-community.org/projects/ai-18-0/ai-18-0-ai_connection/it/
volkantasci
force-pushed
the
19.0-mig-ai_connection
branch
from
September 1, 2026 16:42
800176f to
3f2085e
Compare
Per the migration guideline task 'Add tests to increase code coverage': - base AiConnectionClient.handle_message raises NotImplementedError - _run with a system_prompt prepends it to the messages - a failing tool call goes through the tool-call error handling
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.
Migration of
ai_connectionto 19.0, following the OCA migration guidelines:18.0(git format-patch ... | git am -3 --keep), so original authors, Weblate translations and bot commits are preserved.[MIG]commit on top carrying the actual 19.0 adaptation:19.0.1.0.0odoo_test_helper.FakeModelLoaderto the nativeadd_to_registryAPIai_toolmigration) so CI can resolve the dependency; once [19.0][MIG] ai_tool: Migration to 19.0 #110 merges I will rebase this branch onto19.0to drop the duplicated commits.This PR replaces the
ai_connectionpart of #100 (restructured per the review that the migration was not following OCA guidelines). The final tree is byte-identical to the content that passed CI there.