- Fix ACTION_INPUT regex to properly capture multiline JSON responses - Changed from stopping at first newline to capturing all remaining text - Resolves parsing errors when LLM generates formatted JSON with line breaks - Enhance tool schemas with detailed descriptions and parameter specifications - Add comprehensive Message schema for generate_text tool - Clarify distinction between resources/get (file read) and resources/list (directory listing) - Include clear usage guidance in tool descriptions - Set default model to llama3.2:latest instead of invalid "ollama" - Add parse error debugging to help troubleshoot LLM response issues The agent infrastructure now correctly handles multiline tool arguments and provides better guidance to LLMs through improved tool schemas. Remaining errors are due to LLM quality (model making poor tool choices or generating malformed responses), not infrastructure bugs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
79 lines
1.8 KiB
TOML
79 lines
1.8 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"crates/owlen-core",
|
|
"crates/owlen-tui",
|
|
"crates/owlen-cli",
|
|
"crates/owlen-ollama",
|
|
"crates/owlen-mcp-server",
|
|
"crates/owlen-mcp-llm-server",
|
|
"crates/owlen-mcp-client",
|
|
]
|
|
exclude = []
|
|
|
|
[workspace.package]
|
|
version = "0.1.9"
|
|
edition = "2021"
|
|
authors = ["Owlibou"]
|
|
license = "AGPL-3.0"
|
|
repository = "https://somegit.dev/Owlibou/owlen"
|
|
homepage = "https://somegit.dev/Owlibou/owlen"
|
|
keywords = ["llm", "tui", "cli", "ollama", "chat"]
|
|
categories = ["command-line-utilities"]
|
|
|
|
[workspace.dependencies]
|
|
# Async runtime and utilities
|
|
tokio = { version = "1.0", features = ["full"] }
|
|
tokio-stream = "0.1"
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
futures = "0.3"
|
|
futures-util = "0.3"
|
|
|
|
# TUI framework
|
|
ratatui = "0.28"
|
|
crossterm = "0.28"
|
|
tui-textarea = "0.6"
|
|
|
|
# HTTP client and JSON handling
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = { version = "1.0" }
|
|
|
|
# Utilities
|
|
uuid = { version = "1.0", features = ["v4", "serde"] }
|
|
anyhow = "1.0"
|
|
thiserror = "1.0"
|
|
nix = "0.29"
|
|
which = "6.0"
|
|
tempfile = "3.8"
|
|
jsonschema = "0.17"
|
|
aes-gcm = "0.10"
|
|
ring = "0.17"
|
|
keyring = "3.0"
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
urlencoding = "2.1"
|
|
regex = "1.10"
|
|
rpassword = "7.3"
|
|
sqlx = { version = "0.7", default-features = false, features = ["runtime-tokio-rustls", "sqlite", "macros", "uuid", "chrono", "migrate"] }
|
|
|
|
# Configuration
|
|
toml = "0.8"
|
|
shellexpand = "3.1"
|
|
|
|
# Database
|
|
sled = "0.34"
|
|
|
|
# For better text handling
|
|
textwrap = "0.16"
|
|
|
|
# Async traits
|
|
async-trait = "0.1"
|
|
|
|
# CLI framework
|
|
clap = { version = "4.0", features = ["derive"] }
|
|
|
|
# Dev dependencies
|
|
tokio-test = "0.4"
|
|
|
|
# For more keys and their definitions, see https://doc.rust-lang.org/cargo/reference/manifest.html
|