这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions kubechain/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
### v0.1.12 (March 24, 2025)

Features:
- Added OpenTelemetry tracing support
- Spans for LLM requests with context window and tool metrics
- Parent spans for TaskRun lifecycle tracking
- Completion spans for terminal states
- Status and error propagation to spans

Changes:
- Refactored TaskRun phase transitions and improved phase transition logging
- Enhanced testing infrastructure
- Improved TaskRun and TaskRunToolCall test suites
- Added test utilities for common setup patterns

### v0.1.11 (March 24, 2025)

Features:
Expand Down
4 changes: 2 additions & 2 deletions kubechain/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newTag: "202503251842"
newName: ghcr.io/humanlayer/smallchain
newTag: v0.1.12
33 changes: 23 additions & 10 deletions kubechain/config/release/latest-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -731,15 +731,11 @@ spec:
items:
description: Message represents a single message in the conversation
properties:
arguments:
description: Arguments is the arguments to pass to the tool
call
type: string
content:
description: Content is the message content
type: string
name:
description: Name is the name of the tool call
description: Name is the name of the tool that was called
type: string
role:
description: Role is the role of the message sender (system,
Expand Down Expand Up @@ -789,11 +785,6 @@ spec:
- type
type: object
type: array
type:
description: Type is the type of tool call
enum:
- function
type: string
required:
- content
- role
Expand All @@ -812,17 +803,29 @@ spec:
phase:
description: Phase indicates the current phase of the TaskRun
enum:
- Initializing
- Pending
- ReadyForLLM
- SendContextWindowToLLM
- ToolCallsPending
- CheckingToolCalls
- FinalAnswer
- ErrorBackoff
- Failed
type: string
ready:
description: Ready indicates if the TaskRun is ready to be executed
type: boolean
spanContext:
description: SpanContext contains OpenTelemetry span context information
properties:
spanID:
description: SpanID is the span ID
type: string
traceID:
description: TraceID is the trace ID for the span
type: string
type: object
startTime:
description: StartTime is when the TaskRun started
format: date-time
Expand Down Expand Up @@ -967,6 +970,16 @@ spec:
result:
description: Result contains the result of the tool call if completed
type: string
spanContext:
description: SpanContext contains OpenTelemetry span context information
properties:
spanID:
description: SpanID is the span ID
type: string
traceID:
description: TraceID is the trace ID for the span
type: string
type: object
startTime:
description: StartTime is when the tool call started
format: date-time
Expand Down
35 changes: 24 additions & 11 deletions kubechain/config/release/latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -740,15 +740,11 @@ spec:
items:
description: Message represents a single message in the conversation
properties:
arguments:
description: Arguments is the arguments to pass to the tool
call
type: string
content:
description: Content is the message content
type: string
name:
description: Name is the name of the tool call
description: Name is the name of the tool that was called
type: string
role:
description: Role is the role of the message sender (system,
Expand Down Expand Up @@ -798,11 +794,6 @@ spec:
- type
type: object
type: array
type:
description: Type is the type of tool call
enum:
- function
type: string
required:
- content
- role
Expand All @@ -821,17 +812,29 @@ spec:
phase:
description: Phase indicates the current phase of the TaskRun
enum:
- Initializing
- Pending
- ReadyForLLM
- SendContextWindowToLLM
- ToolCallsPending
- CheckingToolCalls
- FinalAnswer
- ErrorBackoff
- Failed
type: string
ready:
description: Ready indicates if the TaskRun is ready to be executed
type: boolean
spanContext:
description: SpanContext contains OpenTelemetry span context information
properties:
spanID:
description: SpanID is the span ID
type: string
traceID:
description: TraceID is the trace ID for the span
type: string
type: object
startTime:
description: StartTime is when the TaskRun started
format: date-time
Expand Down Expand Up @@ -976,6 +979,16 @@ spec:
result:
description: Result contains the result of the tool call if completed
type: string
spanContext:
description: SpanContext contains OpenTelemetry span context information
properties:
spanID:
description: SpanID is the span ID
type: string
traceID:
description: TraceID is the trace ID for the span
type: string
type: object
startTime:
description: StartTime is when the tool call started
format: date-time
Expand Down Expand Up @@ -1638,7 +1651,7 @@ spec:
- --health-probe-bind-address=:8081
command:
- /manager
image: ghcr.io/humanlayer/smallchain:v0.1.11
image: ghcr.io/humanlayer/smallchain:v0.1.12
livenessProbe:
httpGet:
path: /healthz
Expand Down
Loading