Skip to content
Closed
Show file tree
Hide file tree
Changes from 7 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
5 changes: 5 additions & 0 deletions .github/workflows/nightly-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
scan:
runs-on: ubuntu-latest
timeout-minutes: 30
# Skip if no API keys are configured
if: |
secrets.ANTHROPIC_API_KEY != '' ||
secrets.OPENAI_API_KEY != '' ||
secrets.GEMINI_API_KEY != ''
env:
HAS_APP_SECRETS: ${{ secrets.CAGENT_REVIEWER_APP_ID != '' }}

Expand Down
3 changes: 2 additions & 1 deletion cmd/root/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"os"
"time"

"github.com/docker/cagent/pkg/version"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp"
"go.opentelemetry.io/otel/sdk/resource"
Expand All @@ -22,7 +23,7 @@ func initOTelSDK(ctx context.Context) (err error) {
resource.NewWithAttributes(
semconv.SchemaURL,
semconv.ServiceName(AppName),
semconv.ServiceVersion("dev"), // TODO: use actual version
semconv.ServiceVersion(version.Version),
),
)
if err != nil {
Expand Down
21 changes: 21 additions & 0 deletions examples/new_agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env cagent run
## Generated by GitHub Copilot on 2026-02-05
agents:
new_agent:
model: openai/gpt-4o
description: "Scaffolded agent for concise help, code, and file tasks."
instruction: |
You are the `new_agent`. Follow these rules:
- Be concise, helpful, and actionable.
- Prefer short examples; provide runnable snippets when applicable.
- Ask a clarifying question if the user's intent is ambiguous.
toolsets:
- type: filesystem
- type: shell
- type: memory
path: ./examples/new_agent_memory.db
- type: think
max_iterations: 10
num_history_items: 20
add_date: true
code_mode_tools: true
9 changes: 9 additions & 0 deletions examples/scaffolded_default_agent.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
agents:
scaffolded_default:
model: openai/gpt-5-mini
description: "Scaffolded default agent"
instruction: |
You are a helpful assistant. Respond concisely and ask clarifying questions when necessary.
toolsets:
- type: think
- type: todo
Loading