mirror of
https://github.com/block/goose.git
synced 2026-06-02 06:19:33 +02:00
fix: ensure retry-config and success-criteria are populated in openapi spec (#3575)
This commit is contained in:
@@ -184,6 +184,10 @@ run-server:
|
||||
@echo "Running server..."
|
||||
cargo run -p goose-server
|
||||
|
||||
# Check if OpenAPI schema is up-to-date
|
||||
check-openapi-schema: generate-openapi
|
||||
./scripts/check-openapi-schema.sh
|
||||
|
||||
# Generate OpenAPI specification without starting the UI
|
||||
generate-openapi:
|
||||
@echo "Generating OpenAPI schema..."
|
||||
@@ -368,16 +372,16 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
|
||||
### Build the core code
|
||||
### profile = --release or "" for debug
|
||||
### allparam = OR/AND/ANY/NONE --workspace --all-features --all-targets
|
||||
win-bld profile allparam:
|
||||
win-bld profile allparam:
|
||||
cargo run {{profile}} -p goose-server --bin generate_schema
|
||||
cargo build {{profile}} {{allparam}}
|
||||
|
||||
### Build just debug
|
||||
win-bld-dbg:
|
||||
win-bld-dbg:
|
||||
just win-bld " " " "
|
||||
|
||||
### Build debug and test, examples,...
|
||||
win-bld-dbg-all:
|
||||
win-bld-dbg-all:
|
||||
just win-bld " " "--workspace --all-targets --all-features"
|
||||
|
||||
### Build just release
|
||||
@@ -440,8 +444,8 @@ win-total-rls *allparam:
|
||||
just win-bld-rls{{allparam}}
|
||||
just win-run-rls
|
||||
|
||||
### Build and run the Kotlin example with
|
||||
### auto-generated bindings for goose-llm
|
||||
### Build and run the Kotlin example with
|
||||
### auto-generated bindings for goose-llm
|
||||
kotlin-example:
|
||||
# Build Rust dylib and generate Kotlin bindings
|
||||
cargo build -p goose-llm
|
||||
@@ -460,4 +464,3 @@ kotlin-example:
|
||||
-Djna.library.path=$HOME/Development/goose/target/debug \
|
||||
-classpath "example.jar:libs/kotlin-stdlib-1.9.0.jar:libs/kotlinx-coroutines-core-jvm-1.7.3.jar:libs/jna-5.13.0.jar" \
|
||||
UsageKt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user