Dedupe and organize skills/sources (#8731)
This commit is contained in:
@@ -123,7 +123,7 @@ impl GooseCompleter {
|
||||
|
||||
/// Complete skill names for the /skills command
|
||||
fn complete_skill_names(&self, line: &str) -> Result<(usize, Vec<Pair>)> {
|
||||
use goose::agents::platform_extensions::skills::list_installed_skills;
|
||||
use goose::skills::list_installed_skills;
|
||||
|
||||
let cwd = std::env::current_dir().unwrap_or_default();
|
||||
let skills = list_installed_skills(Some(&cwd));
|
||||
|
||||
@@ -907,7 +907,7 @@ impl CliSession {
|
||||
|
||||
async fn handle_list_skills(&mut self) -> Result<()> {
|
||||
use comfy_table::{presets, Cell, ContentArrangement, Table};
|
||||
use goose::agents::platform_extensions::skills::list_installed_skills;
|
||||
use goose::skills::list_installed_skills;
|
||||
let cwd = std::env::current_dir().unwrap_or_default();
|
||||
let skills = list_installed_skills(Some(&cwd));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user