Skip to content

feature: Add withXXX methods and tests for LLMAgent configuration#32

Merged
xerial merged 3 commits intomainfrom
feature/20250506_143551
May 6, 2025
Merged

feature: Add withXXX methods and tests for LLMAgent configuration#32
xerial merged 3 commits intomainfrom
feature/20250506_143551

Conversation

@xerial
Copy link
Copy Markdown
Member

@xerial xerial commented May 6, 2025

Added withXXX and noXXX methods to the LLMAgent case class for all relevant fields, enabling fluent and granular configuration updates, including temperature, topP, topK, maxOutputTokens, stopSequences, candidateCount, and reasoningConfig.
Added concise ScalaDoc comments to all withXXX methods for clarity.
Extended LLMAgentTest to include comprehensive AirSpec test cases for all new withXXX and noReasoning methods, using only real data/models (no mocks), and leveraging shouldBe assertions.
Updated .gitignore to exclude IDE and build tool files for a cleaner repository.
This change improves the composability and test coverage of agent configuration, following project conventions for method naming, object instantiation, and test writing.

Description

Related Issue/Task

Checklist

  • This pull request focuses on a single task.
  • The change does not contain security credentials

Added withXXX and noXXX methods to the LLMAgent case class for all relevant fields, enabling fluent and granular configuration updates, including temperature, topP, topK, maxOutputTokens, stopSequences, candidateCount, and reasoningConfig.
Added concise ScalaDoc comments to all withXXX methods for clarity.
Extended LLMAgentTest to include comprehensive AirSpec test cases for all new withXXX and noReasoning methods, using only real data/models (no mocks), and leveraging shouldBe assertions.
Updated .gitignore to exclude IDE and build tool files for a cleaner repository.
This change improves the composability and test coverage of agent configuration, following project conventions for method naming, object instantiation, and test writing.
@github-actions github-actions bot added the feature New feature label May 6, 2025
@xerial xerial enabled auto-merge (squash) May 6, 2025 21:56
@xerial xerial merged commit de8bd4d into main May 6, 2025
7 checks passed
@xerial xerial deleted the feature/20250506_143551 branch May 6, 2025 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant