Skip to content

Crashes on start and on permissions config #5996

@olka

Description

@olka
RUST_BACKTRACE=full goose configure

This will update your existing config files
  if you prefer, you can edit them directly at /home/olka/.config/goose

T   goose-configure 
|
o  What would you like to configure?
|  goose settings 
|
o  What setting would you like to configure?
|  Tool Permission 
|
o  Choose an extension to configure tools
|  platform 
|

thread 'main' panicked at /home/runner/work/goose/goose/crates/goose-cli/src/commands/configure.rs:1389:10:
No provider configured. Please set model provider first: NotFound("GOOSE_PROVIDER")
stack backtrace:
   0:     0x55e78c6496b2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h46a716bba2450163
   1:     0x55e78c677173 - core::fmt::write::h275e5980d7008551
   2:     0x55e78c644453 - std::io::Write::write_fmt::h561a66a0340b6995
   3:     0x55e78c649502 - std::sys::backtrace::BacktraceLock::print::hafb9d5969adc39a0
   4:     0x55e78c64bc52 - std::panicking::default_hook::{{closure}}::hae2e97a5c4b2b777
   5:     0x55e78c64ba55 - std::panicking::default_hook::h3db1b505cfc4eb79
   6:     0x55e78c64c5f2 - std::panicking::rust_panic_with_hook::h409da73ddef13937
   7:     0x55e78c64c39a - std::panicking::begin_panic_handler::{{closure}}::h159b61b27f96a9c2
   8:     0x55e78c649ba9 - std::sys::backtrace::__rust_end_short_backtrace::h5b56844d75e766fc
   9:     0x55e78c64c02d - __rustc[4794b31dd7191200]::rust_begin_unwind
  10:     0x55e788e58750 - core::panicking::panic_fmt::hc8737e8cca20a7c8
  11:     0x55e788e58b76 - core::result::unwrap_failed::h727108008d9f4c9b
  12:     0x55e788fe4291 - goose_cli::commands::configure::handle_configure::{{closure}}::h13a0afaf7e2be521
  13:     0x55e788f9ec65 - goose_cli::cli::cli::{{closure}}::h3a5a4fa94d5731c0
  14:     0x55e788febe61 - goose::main::{{closure}}::hb9c653b64795145e
  15:     0x55e789057b67 - tokio::runtime::park::CachedParkThread::block_on::h5124da2fae34f125
  16:     0x55e7894db561 - tokio::runtime::context::runtime::enter_runtime::h260ba4e8f3dff308
  17:     0x55e78970fd67 - tokio::runtime::runtime::Runtime::block_on::hce248cece37c725b
  18:     0x55e78958718e - goose::main::h08af116a0a6432d0
  19:     0x55e789506463 - std::sys::backtrace::__rust_begin_short_backtrace::h8a94b45cb415a6f5
  20:     0x55e7895916ad - std::rt::lang_start::{{closure}}::h6bdeb6c5c273ff4c
  21:     0x55e78c638214 - std::rt::lang_start_internal::ha8ef919ae4984948
  22:     0x55e789587265 - main
  23:     0x7f4681c40e6c - __libc_start_call_main
  24:     0x7f4681c40f35 - __libc_start_main@GLIBC_2.2.5
  25:     0x55e788e5b6de - _start
  26:                0x0 - <unknown>


 RUST_BACKTRACE=full goose session

thread 'main' panicked at /home/runner/work/goose/goose/crates/goose-cli/src/session/builder.rs:261:10:
No provider configured. Run 'goose configure' first
stack backtrace:
   0:     0x557b49d816b2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h46a716bba2450163
   1:     0x557b49daf173 - core::fmt::write::h275e5980d7008551
   2:     0x557b49d7c453 - std::io::Write::write_fmt::h561a66a0340b6995
   3:     0x557b49d81502 - std::sys::backtrace::BacktraceLock::print::hafb9d5969adc39a0
   4:     0x557b49d83c52 - std::panicking::default_hook::{{closure}}::hae2e97a5c4b2b777
   5:     0x557b49d83a55 - std::panicking::default_hook::h3db1b505cfc4eb79
   6:     0x557b49d845f2 - std::panicking::rust_panic_with_hook::h409da73ddef13937
   7:     0x557b49d8439a - std::panicking::begin_panic_handler::{{closure}}::h159b61b27f96a9c2
   8:     0x557b49d81ba9 - std::sys::backtrace::__rust_end_short_backtrace::h5b56844d75e766fc
   9:     0x557b49d8402d - __rustc[4794b31dd7191200]::rust_begin_unwind
  10:     0x557b46590750 - core::panicking::panic_fmt::hc8737e8cca20a7c8
  11:     0x557b4659072b - core::option::expect_failed::h1fcc4e32848a6083
  12:     0x557b4670a927 - goose_cli::session::builder::build_session::{{closure}}::h12f6b38e1b0423fb
  13:     0x557b466e0907 - goose_cli::cli::cli::{{closure}}::h3a5a4fa94d5731c0
  14:     0x557b46723e61 - goose::main::{{closure}}::hb9c653b64795145e
  15:     0x557b4678fb67 - tokio::runtime::park::CachedParkThread::block_on::h5124da2fae34f125
  16:     0x557b46c13561 - tokio::runtime::context::runtime::enter_runtime::h260ba4e8f3dff308
  17:     0x557b46e47d67 - tokio::runtime::runtime::Runtime::block_on::hce248cece37c725b
  18:     0x557b46cbf18e - goose::main::h08af116a0a6432d0
  19:     0x557b46c3e463 - std::sys::backtrace::__rust_begin_short_backtrace::h8a94b45cb415a6f5
  20:     0x557b46cc96ad - std::rt::lang_start::{{closure}}::h6bdeb6c5c273ff4c
  21:     0x557b49d70214 - std::rt::lang_start_internal::ha8ef919ae4984948
  22:     0x557b46cbf265 - main
  23:     0x7f3f77640e6c - __libc_start_call_main
  24:     0x7f3f77640f35 - __libc_start_main@GLIBC_2.2.5
  25:     0x557b465936de - _start
  26:                0x0 - <unknown>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions