feat: initial scaffold with context adapters and litellm pkg
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# __PROJECT_NAME__
|
||||
|
||||
Go agent built on [Google ADK](https://google.golang.org/adk) with a LiteLLM adapter for local model routing.
|
||||
|
||||
## Quick start
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
# edit .env with your LITELLM_API_KEY
|
||||
go mod tidy
|
||||
task run
|
||||
```
|
||||
|
||||
## Observability
|
||||
|
||||
Set `OTLP_ENDPOINT=http://jaeger.d-ma.be:4318` to emit traces. Each invocation produces:
|
||||
- `invoke_agent __PROJECT_NAME__` span
|
||||
- `generate_content <model>` child span with `gen_ai.request.model` attribute
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
cmd/__PROJECT_NAME__/ agent entrypoint
|
||||
pkg/litellm/ OpenAI-compat ADK adapter + OTLP telemetry helper
|
||||
```
|
||||
Reference in New Issue
Block a user