Skip to content

KG-178. Add contextual environment instance that adds an agent context into environment#1248

Merged
sdubov merged 1 commit intodevelopfrom
sdubov/KG-178-contextual-environment
Dec 10, 2025
Merged

KG-178. Add contextual environment instance that adds an agent context into environment#1248
sdubov merged 1 commit intodevelopfrom
sdubov/KG-178-contextual-environment

Conversation

@sdubov
Copy link
Copy Markdown
Collaborator

@sdubov sdubov commented Dec 9, 2025

KG-178.

  • Add an agent contextual environment that wraps the original environment with a context from AIAgent and provides all data from an agent context into environment execution logic;
  • Update Tool Call handlers in pipeline and all features;
  • Update logic in all features related to tool calls;
  • Update related tests.

Motivation and Context

Split environment and agent details. Provide information about agent and agent context into an environment.

Breaking Changes

No


Type of the changes

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tests improvement
  • Refactoring

Checklist

  • The pull request has a description of the proposed change
  • I read the Contributing Guidelines before opening the pull request
  • The pull request uses develop as the base branch
  • Tests for the changes have been added
  • All new and existing tests passed
Additional steps for pull requests adding a new feature
  • An issue describing the proposed change exists
  • The pull request includes a link to the issue
  • The change was discussed and approved in the issue
  • Docs have been added / updated

@sdubov sdubov requested a review from Rizzen December 9, 2025 15:09
@sdubov sdubov self-assigned this Dec 9, 2025
@sdubov sdubov added the refactoring Code improvements that enhance structure, readability, and quality without changing functionality label Dec 9, 2025
@sdubov sdubov force-pushed the sdubov/KG-178-contextual-environment branch 4 times, most recently from bdbf63c to 3769d90 Compare December 9, 2025 18:04
…t into environment

- Add an agent contextual environment that wraps the original environment with a context from AIAgent and provides all data from an agent context into environment execution logic;
- Update Tool Call handlers in pipeline and all features;
- Update logic in all features related to tool calls;
- Update related tests.
@sdubov sdubov force-pushed the sdubov/KG-178-contextual-environment branch from 3769d90 to 7c440f0 Compare December 9, 2025 19:31
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 9, 2025

Qodana for JVM

1194 new problems were found

Inspection name Severity Problems
Check Kotlin and Java source code coverage 🔶 Warning 1174
Missing KDoc for public API declaration 🔶 Warning 20
@@ Code coverage @@
+ 72% total lines covered
17192 lines analyzed, 12528 lines covered
# Calculated according to the filters of your coverage tool

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at qodana-support@jetbrains.com

@sdubov sdubov merged commit ed915bf into develop Dec 10, 2025
11 checks passed
@sdubov sdubov deleted the sdubov/KG-178-contextual-environment branch December 10, 2025 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Code improvements that enhance structure, readability, and quality without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants