Skip to content
Draft

2.0.0 #1697

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
287cc9f
Start 2.0.0 Dev Stream
alexheifetz May 27, 2026
136fc8d
Switch to embabel-common 2.0.0
alexheifetz May 27, 2026
dec1e39
Update to dependency parent 2.0.0-SNAPSHOT
alexheifetz May 28, 2026
a176c1c
chore(deps): upgrade to Spring Boot 4.0.6 + Spring AI 2.0.0-M8 + Jack…
alexheifetz May 29, 2026
f18d985
chore(deps): upgrade to Spring Boot 4.0.6 + Spring AI 2.0.0-M8 + Jack…
alexheifetz May 29, 2026
8e7e68f
Merge branch '2.0.0' of https://github.com/embabel/embabel-agent into…
alexheifetz May 29, 2026
3db2a60
chore(deps): Spring Boot 4 + AI 2.0 follow-ups: webmvc-test dep, MCP …
alexheifetz May 29, 2026
dd432fa
chore(deps): Spring Boot 4 + AI 2.0 follow-ups across autoconfigure m…
alexheifetz May 29, 2026
f681b4c
chore(deps): Spring AI 2.0 — rewrite OpenAI + Anthropic factories on …
alexheifetz May 30, 2026
41b9559
Fix failures in agent-rag tests
alexheifetz May 30, 2026
2a41fdd
Micrometer Tracing 1.15+ (Spring Boot 4) dropped the kebab-case obser…
alexheifetz May 30, 2026
6d13f22
Fix Bedrock Tests
alexheifetz May 30, 2026
3056a30
Fix tests in agent-openai module
alexheifetz May 30, 2026
b710e6f
Fix Anthropic Tests
alexheifetz May 30, 2026
03adcc8
Fix Ollama Tests
alexheifetz May 30, 2026
0320cc2
Fix MiniMax Tests
alexheifetz May 30, 2026
4021424
Fix OpenAi sync/async client init on Linux CI Build
alexheifetz May 30, 2026
e5a1cb5
Merge branch '2.0.0' into 2.0.0-synch
alexheifetz Jun 1, 2026
656a48c
Merge branch '2.0.0-synch' into 2.0.0-06022026
alexheifetz Jun 2, 2026
5303dfc
Fix WaitForMvcIntegrationTest for Spring Boot 4 MockMvc split
alexheifetz Jun 4, 2026
37883e9
Migrate WaitForMvcIntegrationTest to Jackson 3 ObjectMapper
alexheifetz Jun 4, 2026
d0400d5
WaitForMvcIntegrationTest: construct ObjectMapper directly
alexheifetz Jun 4, 2026
4222165
Migrate PersonTest to Jackson 3 imports
alexheifetz Jun 4, 2026
5503fc4
Fix AnthropicCacheTtl import for Spring AI package move
alexheifetz Jun 5, 2026
e404091
Remove duplicated copyright header in ServerHealthStatusTest
alexheifetz Jun 5, 2026
81df011
Merge branch '2.0.0-06022026' into 2.0.0-06052026
alexheifetz Jun 5, 2026
4115c4b
Migrate OciGenAiChatOptions to Spring AI 2.0 ToolCallingChatOptions
alexheifetz Jun 6, 2026
96b75d5
Deflake MapperParallelTest "parallelMap is parallel"
alexheifetz Jun 6, 2026
a679bae
Address @poutsma review comments: rename, ctor visibility, whitespace
alexheifetz Jun 6, 2026
086d322
Address @azanux review: propagate tool callbacks in SpringAiLlmMessag…
alexheifetz Jun 6, 2026
a09d4ed
Address @azanux review: order tracing auto-config around Spring Boot 4
alexheifetz Jun 7, 2026
91fc942
Merge branch '2.0.0' into 2.0.0-061326
alexheifetz Jun 13, 2026
90d0e1e
Merge 2.0.0 into 2.0.0-061326: port native structured output to SB4/S…
alexheifetz Jun 13, 2026
4dccf72
Merge pull request #1719 from embabel/2.0.0-061326
alexheifetz Jun 13, 2026
96933cf
WIP: Spring AI 2.0.0 GA migration (post-merge checkpoint)
alexheifetz Jun 15, 2026
6ed8e49
Fix Ollama autoconfigure for Spring AI 2.0 GA
alexheifetz Jun 15, 2026
ae6424b
Fix DeepSeek and Mistral autoconfigure for Spring AI 2.0 GA
alexheifetz Jun 15, 2026
87ff91c
Fix Google GenAI autoconfigure for Spring AI 2.0 GA
alexheifetz Jun 15, 2026
021858b
Fix OCI GenAI autoconfigure for Spring AI 2.0 GA
alexheifetz Jun 15, 2026
fd643d2
Spring AI 2.0's ToolCallbacks.from throws IllegalArgumentException
alexheifetz Jun 15, 2026
ff30bb2
Fix ChatClient test fakes for Spring AI 2.0 GA option-merge behavior
alexheifetz Jun 15, 2026
0ddad26
Declare anthropic-java-client-okhttp in Anthropic autoconfigure (Spri…
alexheifetz Jun 15, 2026
49cb079
Fix UsageExtensionsTest for anthropic-java 2.40.1 required outputToke…
alexheifetz Jun 16, 2026
57aa777
Merge pull request #1722 from embabel/2.0.0-061326
alexheifetz Jun 16, 2026
60b73de
Fix OAuth2ResourceServerAutoConfiguration import for Spring Boot 4.1
alexheifetz Jun 17, 2026
1afdf11
Merge branch '2.0.0' into 06222026
alexheifetz Jun 23, 2026
98f2c9e
Merge pull request #1738 from embabel/06222026
alexheifetz Jun 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion embabel-agent-a2a/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-parent</artifactId>
<version>1.0.0-RC1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>embabel-agent-a2a</artifactId>
<packaging>jar</packaging>
Expand Down Expand Up @@ -55,6 +55,17 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<!--
Spring Boot 4 split the webmvc/MockMvc test slice out of
spring-boot-test-autoconfigure into its own artifact. Needed for
@AutoConfigureMockMvc and the MockMvc bean used by A2AWebIntegrationTest.
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-webmvc-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.embabel.agent.a2a.server.support

import com.embabel.agent.a2a.server.AgentCardHandler
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import io.a2a.spec.AgentCard
import io.a2a.spec.CancelTaskRequest
import io.a2a.spec.GetTaskRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package com.embabel.agent.a2a.server.support

import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import org.springframework.beans.factory.annotation.Qualifier
import io.a2a.spec.Message
import io.a2a.spec.SendStreamingMessageResponse
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class AutonomyA2ARequestHandler(
/**
* Handles streaming JSON-RPC requests that are not part of the standard SDK
*/
fun handleCustomStreamingRequest(method: String, requestMap: Map<String, Any>, objectMapper: com.fasterxml.jackson.databind.ObjectMapper): SseEmitter {
fun handleCustomStreamingRequest(method: String, requestMap: Map<String, Any>, objectMapper: tools.jackson.databind.ObjectMapper): SseEmitter {
return when (method) {
TaskResubscriptionRequest.METHOD -> {
val request = objectMapper.convertValue(requestMap, TaskResubscriptionRequest::class.java)
Expand Down Expand Up @@ -351,9 +351,10 @@ class AutonomyA2ARequestHandler(

// Serialize the object without the content field for DataPart
// Convert to map using Jackson, then remove the content field
val objectMapper = com.fasterxml.jackson.databind.ObjectMapper()
.registerModule(com.fasterxml.jackson.module.kotlin.KotlinModule.Builder().build())
.findAndRegisterModules()
val objectMapper = tools.jackson.databind.json.JsonMapper.builder()
.addModule(tools.jackson.module.kotlin.kotlinModule())
.findAndAddModules()
.build()

@Suppress("UNCHECKED_CAST")
val outputMap = objectMapper.convertValue(output, Map::class.java) as MutableMap<String, Any?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import com.embabel.common.ai.model.ModelSelectionCriteria.Companion.Auto
import com.embabel.ux.form.Text
import com.fasterxml.jackson.annotation.JsonClassDescription
import com.fasterxml.jackson.annotation.JsonPropertyDescription
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import tools.jackson.databind.annotation.JsonDeserialize
import org.springframework.beans.factory.annotation.Value

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ import com.embabel.agent.a2a.server.config.FakeRankerConfiguration
import com.embabel.agent.api.annotation.support.AgentMetadataReader
import com.embabel.agent.core.AgentPlatform
import com.embabel.common.core.types.Semver.Companion.DEFAULT_VERSION
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import io.a2a.spec.*
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Nested
import org.junit.jupiter.api.Test
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
import org.springframework.boot.webmvc.test.autoconfigure.AutoConfigureMockMvc
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Import
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
package com.embabel.agent.a2a.server.support

import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import tools.jackson.databind.ObjectMapper
import tools.jackson.module.kotlin.jacksonObjectMapper
import io.a2a.spec.Message
import io.a2a.spec.Task
import io.a2a.spec.TaskState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package com.embabel.agent.a2a.server.support

import com.embabel.agent.domain.library.HasContent
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import tools.jackson.databind.ObjectMapper
import tools.jackson.module.kotlin.jacksonObjectMapper
import io.a2a.spec.DataPart
import io.a2a.spec.TextPart
import org.junit.jupiter.api.Assertions.*
Expand Down Expand Up @@ -50,7 +50,7 @@ class HasContentArtifactTest {
)

private val objectMapper: ObjectMapper = jacksonObjectMapper()
.findAndRegisterModules() // Registers JSR310 module for Instant support
// Registers JSR310 module for Instant support

@Test
fun `should extract content as TextPart when object implements HasContent`() {
Expand Down
32 changes: 29 additions & 3 deletions embabel-agent-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<parent>
<groupId>com.embabel.agent</groupId>
<artifactId>embabel-agent-parent</artifactId>
<version>1.0.0-RC1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>embabel-agent-api</artifactId>
<version>1.0.0-RC1-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Embabel Agent API</name>
<description>Fluent DSL and Kotlin DSL for Agentic Flows</description>
Expand All @@ -22,6 +22,8 @@

<properties>
<spotbugs-annotations.version>4.9.8</spotbugs-annotations.version>
<!-- spring-retry was removed from the Spring Boot 4 BOM; pin a Spring-7-compatible version directly. -->
<spring-retry.version>2.0.12</spring-retry.version>
<!-- Exclude test utilities from SonarQube analysis -->
<sonar.coverage.exclusions>**/test/integration/**</sonar.coverage.exclusions>
<sonar.cpd.exclusions>**/test/integration/**</sonar.cpd.exclusions>
Expand Down Expand Up @@ -110,8 +112,20 @@
<artifactId>spring-ai-retry</artifactId>
</dependency>

<!--
Spring Boot 4's BOM no longer manages spring-retry; we use the classic
org.springframework.retry API (RetryTemplate / RetryPolicy / RetrySynchronizationManager)
so we declare it directly. spring-retry 2.0.x remains binary-compatible
with the Spring 7 core abstractions we reference.
-->
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
<version>${spring-retry.version}</version>
</dependency>

<dependency>
<groupId>tools.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>

Expand Down Expand Up @@ -174,6 +188,18 @@
<scope>test</scope>
</dependency>

<!--
Spring Boot 4 split @AutoConfigureMockMvc (and the rest of the MockMvc test
slice) out of spring-boot-test-autoconfigure into a dedicated module under
a new package (org.springframework.boot.webmvc.test.autoconfigure). Tests
here that use @AutoConfigureMockMvc (e.g. WaitForMvcIntegrationTest) need
this dep on the test classpath.
-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-webmvc-test</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import com.embabel.common.core.types.Semver
import com.embabel.common.util.NameUtils
import com.embabel.common.util.loggerFor
import com.fasterxml.jackson.annotation.JsonTypeInfo
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import tools.jackson.databind.annotation.JsonDeserialize
import org.slf4j.LoggerFactory
import org.springframework.cglib.proxy.Enhancer
import org.springframework.stereotype.Service
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package com.embabel.agent.api.annotation.support

import com.embabel.agent.api.tool.Tool
import com.embabel.agent.core.*
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import org.slf4j.LoggerFactory

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package com.embabel.agent.api.annotation.support

import com.embabel.agent.core.Action
import com.embabel.agent.core.Blackboard
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import kotlin.reflect.KClass
import kotlin.reflect.full.memberProperties

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import com.embabel.agent.spi.config.spring.AgentPlatformProperties
import com.embabel.chat.ConversationFactoryProvider
import com.embabel.common.ai.model.ModelProvider
import com.embabel.common.textio.template.TemplateRenderer
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper

/**
* Services used by the platform and available to user-authored code.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1130,8 +1130,8 @@ inline fun <reified T> PromptRunner.Rendering.createObject(
* and [withoutProperties].
* @param properties the properties that are to be included
*/
fun <T, Any> Creating<T>.withProperties(
vararg properties: KProperty1<T, Any>,
fun <T> Creating<T>.withProperties(
vararg properties: KProperty1<T, *>,
): Creating<T> =
withProperties(*properties.map { it.name }.toTypedArray())

Expand All @@ -1143,7 +1143,7 @@ fun <T, Any> Creating<T>.withProperties(
* and [withProperties].
* @param properties the properties that are to be included
*/
fun <T, Any> Creating<T>.withoutProperties(
vararg properties: KProperty1<T, Any>,
fun <T> Creating<T>.withoutProperties(
vararg properties: KProperty1<T, *>,
): Creating<T> =
withoutProperties(*properties.map { it.name }.toTypedArray())
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import com.embabel.chat.Message
import com.embabel.chat.UserMessage
import com.embabel.common.ai.prompt.PromptContributor
import com.embabel.common.textio.template.TemplateRenderer
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import java.lang.reflect.Field
import java.util.function.Predicate

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import com.embabel.common.core.thinking.ThinkingResponse
import com.embabel.common.core.types.ZeroToOne
import com.embabel.common.textio.template.TemplateRenderer
import com.embabel.common.util.loggerFor
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import java.lang.reflect.Field
import java.util.concurrent.atomic.AtomicLong
import java.util.function.Predicate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import com.embabel.common.core.streaming.StreamingEvent
import com.embabel.common.core.thinking.ThinkingResponse
import com.embabel.common.core.types.ZeroToOne
import com.embabel.common.textio.template.TemplateRenderer
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import java.lang.reflect.Field
import java.util.function.Predicate
import reactor.core.publisher.Flux
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*/
package com.embabel.agent.api.reference

import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.dataformat.yaml.YAMLFactory
import com.fasterxml.jackson.module.kotlin.readValue
import com.fasterxml.jackson.module.kotlin.registerKotlinModule
import tools.jackson.databind.ObjectMapper
import tools.jackson.dataformat.yaml.YAMLMapper
import tools.jackson.module.kotlin.readValue
import tools.jackson.module.kotlin.kotlinModule
import org.springframework.core.io.DefaultResourceLoader
import org.springframework.core.io.ResourceLoader

Expand All @@ -27,7 +27,7 @@ import org.springframework.core.io.ResourceLoader
*/
object LlmReferenceProviders {

private val yamlMapper = ObjectMapper(YAMLFactory()).registerKotlinModule()
private val yamlMapper = YAMLMapper.builder().addModule(kotlinModule()).build()

/**
* Parse a YML file at the given resource location into a list of LlmReference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
Tool.Parameter.string("message", "The message to send to the user"),
),
) { input ->
val parsed = com.fasterxml.jackson.databind.ObjectMapper().readTree(input)
val parsed = tools.jackson.databind.ObjectMapper().readTree(input)
val message = parsed.get("message")?.asText()

Check warning on line 50 in embabel-agent-api/src/main/kotlin/com/embabel/agent/api/tool/CommunicateTool.kt

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=embabel_embabel-agent&issues=AZ56VYRHLoLvvXVauzoe&open=AZ56VYRHLoLvvXVauzoe&pullRequest=1697
?: return@of Tool.Result.error("Missing 'message' parameter")

val process = AgentProcess.get()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.embabel.agent.core.DomainType
import com.embabel.agent.core.DomainTypePropertyDefinition
import com.embabel.agent.core.PropertyDefinition
import com.embabel.agent.core.ValuePropertyDefinition
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper

/**
* InputSchema implementation that generates JSON schema from a [DomainType].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.embabel.agent.api.annotation.LlmTool
import com.embabel.agent.api.annotation.LlmTool.Param
import com.embabel.agent.api.tool.VictoolsSchemaGenerator.ParameterInfo
import com.embabel.agent.core.ReplanRequestedException
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import java.lang.reflect.Method
import java.lang.reflect.Type
import kotlin.reflect.KFunction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import com.embabel.agent.api.annotation.LlmTool
import com.embabel.agent.api.annotation.MatryoshkaTools
import com.embabel.agent.api.annotation.UnfoldingTools
import com.embabel.agent.api.tool.progressive.UnfoldingTool
import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import tools.jackson.databind.ObjectMapper
import tools.jackson.module.kotlin.jacksonObjectMapper
import org.slf4j.LoggerFactory
import org.springframework.core.KotlinDetector
import java.lang.reflect.Method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
Tool.Parameter.string("status", "Short progress message describing what you're currently doing"),
),
) { input ->
val parsed = com.fasterxml.jackson.databind.ObjectMapper().readTree(input)
val parsed = tools.jackson.databind.ObjectMapper().readTree(input)
val status = parsed.get("status")?.asText()

Check warning on line 43 in embabel-agent-api/src/main/kotlin/com/embabel/agent/api/tool/ProgressTool.kt

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Deprecated code should not be used.

See more on https://sonarcloud.io/project/issues?id=embabel_embabel-agent&issues=AZ56VYRdLoLvvXVauzof&open=AZ56VYRdLoLvvXVauzof&pullRequest=1697
?: return@of Tool.Result.error("Missing 'status' parameter")

val process = AgentProcess.get()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package com.embabel.agent.api.tool
import com.embabel.agent.api.tool.Tool.Definition
import com.embabel.agent.api.tool.progressive.UnfoldingTool
import com.embabel.agent.core.DomainType
import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper

/**
* Tool information including definition and metadata,
Expand Down Expand Up @@ -498,7 +498,7 @@ interface Tool : ToolInfo {

@JvmStatic
fun fromInstance(instance: Any): List<Tool> =
super.fromInstance(instance, com.fasterxml.jackson.module.kotlin.jacksonObjectMapper())
super.fromInstance(instance, tools.jackson.module.kotlin.jacksonObjectMapper())

@JvmStatic
override fun fromInstance(
Expand All @@ -508,7 +508,7 @@ interface Tool : ToolInfo {

@JvmStatic
fun safelyFromInstance(instance: Any): List<Tool> =
super.safelyFromInstance(instance, com.fasterxml.jackson.module.kotlin.jacksonObjectMapper())
super.safelyFromInstance(instance, tools.jackson.module.kotlin.jacksonObjectMapper())

@JvmStatic
override fun safelyFromInstance(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package com.embabel.agent.api.tool

import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import org.jetbrains.annotations.ApiStatus
import org.slf4j.Logger
import java.lang.reflect.Type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
package com.embabel.agent.api.tool

import com.fasterxml.jackson.databind.ObjectMapper
import tools.jackson.databind.ObjectMapper
import kotlin.reflect.KClass
import kotlin.reflect.full.memberProperties
import kotlin.reflect.jvm.javaType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*/
package com.embabel.agent.api.tool

import com.fasterxml.jackson.databind.ObjectMapper
import com.fasterxml.jackson.module.kotlin.jacksonObjectMapper
import tools.jackson.databind.ObjectMapper
import tools.jackson.module.kotlin.jacksonObjectMapper
import java.util.function.Function

/**
Expand Down
Loading
Loading