Skip to content

docs_summarizer.iterate_with_tools method refactoring#2783

Open
blublinsky wants to merge 1 commit intoopenshift:mainfrom
blublinsky:doc_summarizer-refactoring
Open

docs_summarizer.iterate_with_tools method refactoring#2783
blublinsky wants to merge 1 commit intoopenshift:mainfrom
blublinsky:doc_summarizer-refactoring

Conversation

@blublinsky
Copy link
Contributor

@blublinsky blublinsky commented Feb 27, 2026

Description

This is initial refactoring of iterate with tools to prepare for tools approval
It is mostly splitting existing iterate with tools method into multiple functions. Preserving the current logic (for the most part), but restructuring it from one massive function into several smaller ones

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change

Related Tickets & Documents

Checklist before requesting a review

  • I have performed a self-review of my code.
  • PR has passed all pre-merge test jobs.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@openshift-ci openshift-ci bot requested review from tisnik and xrajesh February 27, 2026 10:09
@openshift-ci
Copy link

openshift-ci bot commented Feb 27, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign blublinsky for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@blublinsky
Copy link
Contributor Author

/test evaluation

@blublinsky
Copy link
Contributor Author

/test ols-evaluation

@blublinsky
Copy link
Contributor Author

/retest

@blublinsky blublinsky force-pushed the doc_summarizer-refactoring branch from 4ec11d9 to d12135a Compare February 27, 2026 13:28
@blublinsky
Copy link
Contributor Author

/retest

@blublinsky
Copy link
Contributor Author

/test integration

@blublinsky blublinsky force-pushed the doc_summarizer-refactoring branch from d12135a to b24a7cd Compare February 27, 2026 17:52
@blublinsky
Copy link
Contributor Author

/retest

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 2, 2026
@blublinsky
Copy link
Contributor Author

/retest

system_prompt: Optional[str] = None
attachments: Optional[list[Attachment]] = None
media_type: Optional[str] = MEDIA_TYPE_TEXT
media_type: Optional[str] = MEDIA_TYPE_JSON
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this default changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI is using JSON, not text

@blublinsky blublinsky force-pushed the doc_summarizer-refactoring branch 2 times, most recently from 985cb99 to 0f9b01e Compare March 2, 2026 16:33
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 2, 2026
@blublinsky blublinsky force-pushed the doc_summarizer-refactoring branch from 0f9b01e to f44a95f Compare March 2, 2026 16:42
@blublinsky
Copy link
Contributor Author

/retest

@blublinsky blublinsky force-pushed the doc_summarizer-refactoring branch from f44a95f to 9776731 Compare March 3, 2026 18:04
@openshift-ci
Copy link

openshift-ci bot commented Mar 3, 2026

@blublinsky: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-ols-cluster 9776731 link true /test e2e-ols-cluster

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants