Skip to content

[ADD] ai_connection_queue - #115

Open
angelmoya wants to merge 1 commit into
OCA:18.0from
angelmoya:18.0-ADD-ai_connection_queue
Open

angelmoya wants to merge 1 commit into
OCA:18.0from
angelmoya:18.0-ADD-ai_connection_queue

Conversation

@angelmoya

Copy link
Copy Markdown
Member

Add ai_connection_queue: run ai.connection conversations via queue_job

  • ai_connection: refactor _run_ai's while loop into _run_ai_step with
    _run_ai_next/_run_ai_finalize/_run_ai_error extension points. No
    behavior change.
  • New module ai_connection_queue: dispatches each round through
    queue_job instead of blocking, opt-in via ai_connection_async
    context key. Returns an ai.connection.run id, not the final answer.
  • Optional per-round notify callback (record-bound or model-level) via
    ai_connection_notify_model/_res_id/_method context keys.

@OCA-git-bot OCA-git-bot added series:18.0 mod:ai_connection Module ai_connection mod:ai_connection_queue Module ai_connection_queue labels Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:ai_connection_queue Module ai_connection_queue mod:ai_connection Module ai_connection series:18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants