-
Notifications
You must be signed in to change notification settings - Fork 240
New example: basic code-agent #808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Introduced the initial setup for the `step-01-basic-agent` example, including the Gradle build scripts, code files, and essential dependencies.
…d to the "simple" submodule
…setup Added `handleEvents` to support custom tool call logging. Updated example prompt to reflect Vue/TS implementation and included logging configuration via `logback.xml` for error-level output.
…les moved to the "simple" submodule" This reverts commit e0b27da
…in class configuration
Qodana for JVM1003 new problems were found
@@ Code coverage @@
+ 70% total lines covered
14247 lines analyzed, 10107 lines covered
# Calculated according to the filters of your coverage tool☁️ View the detailed Qodana report Contact Qodana teamContact us at qodana-support@jetbrains.com
|
…in for jar creation
…basic-agent # Conflicts: # gradle/libs.versions.toml # koog-agents/build.gradle.kts # settings.gradle.kts
…`; update dependencies and plugins for modularization
…streamline build configuration
### Key Updates - Introduced `traceAttributes` parameter in `addLangfuseExporter` to enable custom attributes (e.g., sessions, tags) for observability. - Updated `LangfuseSpanAdapter` to apply trace-level attributes to spans. - Added extensive documentation for trace attributes in OpenTelemetry Langfuse guide. - Enhanced test coverage for handling trace attributes and metadata.
…s' into codeagent/step-01-basic-agent
…` with `onToolExecutionStarting` and remove Langfuse integration setup.
…from `onToolExecutionStarting` output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please update the handler for tools in the EventHandler feature to a new API? Everything else looks good for me.
examples/code-agent/step-01-basic-agent/src/main/kotlin/Main.kt
Outdated
Show resolved
Hide resolved
…ng` to `onToolCallStarting` in `step-01-basic-agent`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @denis-domanskii
LGTM
A new code-agent example is added. (cherry picked from commit 05b8472)
A new code-agent example is added.
Motivation and Context
n/a
Breaking Changes
n/a
Type of the changes
Checklist
developas the base branchAdditional steps for pull requests adding a new feature