agent/pkg/runner/queue_example_test.go
Snider ecd47fe3db revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-18 11:22:27 +00:00

23 lines
357 B
Go

// SPDX-License-Identifier: EUPL-1.2
package runner
import (
core "dappco.re/go/core"
"gopkg.in/yaml.v3"
)
func ExampleConcurrencyLimit_UnmarshalYAML() {
input := `
total: 5
gpt-5.4: 1
`
var limit ConcurrencyLimit
_ = yaml.Unmarshal([]byte(input), &limit)
core.Println(limit.Total)
core.Println(limit.Models["gpt-5.4"])
// Output:
// 5
// 1
}