Commit Graph

  • 907bd88c8f fix: federation only on first iteration, local-only for tool result processing main sleepy 2026-02-25 23:56:29 +01:00
  • af728505e8 fix: properly unpack FederationResult object instead of trying to unpack as tuple sleepy 2026-02-25 23:43:25 +01:00
  • 93844a81b0 refactor: unified generation interface for federation and local modes sleepy 2026-02-25 23:36:24 +01:00
  • 414cb444f3 fix: integrate federation with tool execution loop sleepy 2026-02-25 23:06:37 +01:00
  • 34b28597ff fix: peers in federation mode should not generate tool calls sleepy 2026-02-25 22:46:15 +01:00
  • 67122052b4 Merge branch 'fix/tool-instructions-permission' sleepy 2026-02-25 22:39:00 +01:00
  • e7b826da4e docs: update README with current features and remove outdated docs fix/tool-instructions-permission sleepy 2026-02-25 22:38:46 +01:00
  • 3799240d74 fix: head node objectively judges all responses using quality metrics sleepy 2026-02-25 22:24:00 +01:00
  • e0d04ae664 fix: use actual consensus confidence for peers instead of hardcoded 0.8 sleepy 2026-02-25 22:21:19 +01:00
  • 896e9d6d9b fix: store swarm_manager in app.state for federation endpoint sleepy 2026-02-25 22:11:06 +01:00
  • e2b0af7636 fix: add missing federation /v1/federation/vote endpoint sleepy 2026-02-25 22:05:37 +01:00
  • 5b29e15c0a fix: prevent path hallucination - read files directly without ls first sleepy 2026-02-25 21:42:25 +01:00
  • 8431717235 fix: stronger instruction for bash ls results to read files immediately sleepy 2026-02-25 21:20:48 +01:00
  • 06df3c8dab fix: allow absolute and ~ paths to access files outside working directory sleepy 2026-02-25 21:13:02 +01:00
  • ab7cf7e9aa fix: expand tildes (~) to home directory in tool paths sleepy 2026-02-25 20:54:31 +01:00
  • 49a6d99bf8 CRITICAL FIX: fix indentation bug that prevented tool results from being added to history sleepy 2026-02-25 20:49:30 +01:00
  • 586c113688 fix: smarter bash tool instructions - guide model to read files after verification sleepy 2026-02-25 20:39:55 +01:00
  • a09d23156b feat: universal tool support - inject instructions by default, add plan mode TODO, improve file handling sleepy 2026-02-25 20:37:23 +01:00
  • c46684f03e fix: explicit tool result instructions to guide model response sleepy 2026-02-25 20:25:05 +01:00
  • bd3579737a feat: add detailed tool execution logging sleepy 2026-02-25 20:17:55 +01:00
  • 886ebbdb81 fix: proper OpenAI tool call format with tool_call_id linking sleepy 2026-02-25 20:12:40 +01:00
  • a0d3ae9d4f fix: OpenCode-compatible streaming format with reasoning_content sleepy 2026-02-25 20:03:55 +01:00
  • a0571c83a3 feat: implement OpenCode-compatible streaming format and enhance chatlogging sleepy 2026-02-25 19:57:38 +01:00
  • 46f14b2b53 feat: add chatlogger for tool execution debugging - logs to chatlog.md when LOCAL_SWARM_CHATLOG=1 sleepy 2026-02-25 19:52:52 +01:00
  • 42a176f1d8 fix: update tool instructions to require file operations and prevent refusals sleepy 2026-02-25 19:41:16 +01:00
  • dcca89d89a fix: OpenAI API compatibility for hollama and other clients sleepy 2026-02-25 19:39:05 +01:00
  • b9ce5db8ef docs: update architecture and README with new modular structure sleepy 2026-02-25 13:31:24 +01:00
  • 1acebbc6a2 refactor(models): extract memory calculations and config from selector refactor/remaining-large-files sleepy 2026-02-25 13:23:47 +01:00
  • 32049c766c refactor(models): extract hardcoded data to JSON configs sleepy 2026-02-25 13:20:29 +01:00
  • a82c73d05d refactor(swarm): add orchestrator module for swarm generation refactor/swarm-manager sleepy 2026-02-25 13:14:47 +01:00
  • bdc8db9678 refactor(interactive): create modular structure for interactive module refactor/interactive-module sleepy 2026-02-25 13:13:21 +01:00
  • 0134ccae53 refactor(cli): extract server runner to reduce main_runner to 285 lines refactor/modularity-improvements sleepy 2026-02-25 12:58:52 +01:00
  • 4ea36783d6 refactor(cli): break down main.py into modular CLI components sleepy 2026-02-25 12:57:28 +01:00
  • 6ab726b46c refactor(api): extract formatting, parsing, and handlers from routes sleepy 2026-02-25 12:53:27 +01:00
  • d22c52ec04 docs: Add minimal, maintainable, modular code requirements investigate-tool-server sleepy 2026-02-25 12:30:18 +01:00
  • 5fa8cd4e0e fix: Correct streaming implementation syntax sleepy 2026-02-25 12:25:19 +01:00
  • 2c46d48004 feat: Add real-time streaming for tools sleepy 2026-02-25 12:10:49 +01:00
  • 0945cee162 feat: Add webfetch tool support sleepy 2026-02-25 12:02:36 +01:00
  • 58e4b2c645 feat: Add tokens/sec tracking to streaming output sleepy 2026-02-25 11:55:27 +01:00
  • 929f069d14 Add debug logging to trace prompt sizes in worker sleepy 2026-02-25 11:54:57 +01:00
  • bdcb013d6b feat: Aggressive token compression for initial opencode requests sleepy 2026-02-25 11:51:24 +01:00
  • 9fdc3a6d02 docs: Update README with --use-opencode-tools flag documentation sleepy 2026-02-25 11:35:00 +01:00
  • c18c20487c feat: Add configurable tool mode to save tokens sleepy 2026-02-25 11:31:48 +01:00
  • 1d1d7b4468 feat(server): Disable access logs to reduce noise sleepy 2026-02-25 03:08:43 +01:00
  • 4f2b9252c4 fix(status_monitor): Stop spamming 'Workers Idle' messages sleepy 2026-02-25 02:39:09 +01:00
  • 3dbc76de04 fix(registry): Update MLX model registry with verified HuggingFace repositories sleepy 2026-02-25 02:34:34 +01:00
  • af2d616f76 fix: Add verbose mDNS logging and diagnostics endpoint sleepy 2026-02-25 01:51:59 +01:00
  • 1ac32c7ec3 feat: Add global tokens/sec reporting and reduce log level to INFO sleepy 2026-02-25 01:44:15 +01:00
  • d33fa406b6 feat: CUDA/Android support and federation metrics (#7) sleepy 2026-02-25 00:53:07 +01:00
  • a27eb44f62 fix(federation): enable federation with tools feature/split-routes-and-add-federation-tests sleepy 2026-02-25 00:07:34 +01:00
  • 66b525a24b feat: add federation tests and update README documentation sleepy 2026-02-24 23:48:39 +01:00
  • 3dc06c73ef feat(federation): add winner tracking and token usage reporting feature/federation-streaming-parallel sleepy 2026-02-24 23:40:41 +01:00
  • 989427c4d3 fix(federation): properly stream federated response sleepy 2026-02-24 23:36:48 +01:00
  • c9406974e9 fix(federation): wait for consensus and use federated result in streaming sleepy 2026-02-24 23:28:51 +01:00
  • b2328f761a feat(federation): add federation support to streaming path sleepy 2026-02-24 23:28:17 +01:00
  • 17000dc51e optimize(federation): run local and peer generation in parallel sleepy 2026-02-24 23:12:49 +01:00
  • 0a97e4af8c feat: add token usage tracking to streaming responses feature/token-usage-streaming sleepy 2026-02-24 22:59:03 +01:00
  • 580d1e5d17 feat: comprehensive tool system improvements and webfetch support (#3) sleepy 2026-02-24 22:35:05 +01:00
  • aabd2b2ebc feat: enhanced tool instructions for multi-step operations feature/enhanced-tools sleepy 2026-02-24 15:25:05 +01:00
  • 40fe75c738 fix: return streaming format (SSE) for tool execution results sleepy 2026-02-24 15:16:12 +01:00
  • 539ca21d51 feat: simplify tool format to TOOL:/ARGUMENTS: pattern sleepy 2026-02-24 15:09:47 +01:00
  • 61ffd1c925 fix: add tool execution to streaming path sleepy 2026-02-24 15:07:04 +01:00
  • e0c500e62b debug: add very visible request/response logging sleepy 2026-02-24 15:03:38 +01:00
  • aa137b685b fix: handle tool_calls as single object or array sleepy 2026-02-24 14:59:35 +01:00
  • f83e6fc711 fix: execute tools via tool executor instead of returning tool_calls sleepy 2026-02-24 14:48:13 +01:00
  • b7fc184ca3 fix: return tool_calls to opencode instead of executing server-side sleepy 2026-02-24 14:42:08 +01:00
  • 25b675cff5 debug: add explicit logging for tool executor configuration sleepy 2026-02-24 14:39:50 +01:00
  • 9932e34385 feat: add tool execution logging and status display sleepy 2026-02-24 14:34:58 +01:00
  • cc66c550e4 feat: --tool-host auto-detects local IP when used without value sleepy 2026-02-24 14:30:14 +01:00
  • b5bd154ba6 feat: add --tool-port argument for tool server (default: 17616) sleepy 2026-02-24 14:27:40 +01:00
  • bad8732b7b fix: simplify tool instructions to ~300 tokens (was 40k) sleepy 2026-02-24 14:26:16 +01:00
  • 12eaac0d27 feat: implement distributed tool execution with tool host sleepy 2026-02-24 14:24:22 +01:00
  • 1b181bf207 fix: remove tool instructions from prompt to prevent looping sleepy 2026-02-24 14:15:21 +01:00
  • c70f83ab6c fix: simplify looping prevention - don't add instructions if assistant responded sleepy 2026-02-24 14:10:13 +01:00
  • df4587e796 fix: prevent looping by checking for server-side tool execution results sleepy 2026-02-24 14:06:49 +01:00
  • 00cd483aca feat: add server-side tool execution for OpenAI-compatible providers sleepy 2026-02-24 14:01:02 +01:00
  • 0886b9ae73 fix: handle --model with full format (model:size:quant) sleepy 2026-02-24 13:15:59 +01:00
  • 27e1971276 debug: add response logging to both federation and local paths sleepy 2026-02-24 13:12:33 +01:00
  • e3eb52d285 debug: log message state when checking for tool calls sleepy 2026-02-24 13:08:58 +01:00
  • fb8565cd73 feat: add command line example to startup summary sleepy 2026-02-24 13:02:18 +01:00
  • 75f5be59b0 fix: prevent tool instructions after tool calls in conversation sleepy 2026-02-24 12:58:25 +01:00
  • c5b81960c3 fix: properly parse tool_calls with nested JSON in arguments field sleepy 2026-02-24 12:54:34 +01:00
  • 3728eb7020 chore: clean up debug logging sleepy 2026-02-24 12:46:49 +01:00
  • 550ad01ce6 fix: only add tool instructions on first request, not after tool results sleepy 2026-02-24 12:44:20 +01:00
  • e3701cf21e fix: properly extract content before tool_calls block sleepy 2026-02-24 12:43:45 +01:00
  • 9d838c1bca fix: handle markdown code blocks in tool calls and add federation debug sleepy 2026-02-24 12:28:04 +01:00
  • 175574042a fix: disable streaming when tools are present sleepy 2026-02-24 12:21:28 +01:00
  • 0da3923ba6 debug: print full response JSON in debug output sleepy 2026-02-24 12:18:41 +01:00
  • 90bab34ee4 debug: add response logging to both federation and local paths sleepy 2026-02-24 12:17:57 +01:00
  • 303962917d debug: log request.tools to see if tools are being received sleepy 2026-02-24 12:14:21 +01:00
  • 13e6fb22ed debug: add logging to tool call parsing sleepy 2026-02-24 12:08:56 +01:00
  • 76b12b3ba8 fix: improve tool_calls parsing for JavaScript-style output sleepy 2026-02-24 12:02:39 +01:00
  • 20e9e0afb3 fix: add tool parsing to federation path and debug logging sleepy 2026-02-24 11:52:56 +01:00
  • 8a93e25b16 feat: add peer health check loop and improve tool instructions sleepy 2026-02-24 11:46:23 +01:00
  • 6e06304b70 feat: wire up federation to use peer swarms for generation sleepy 2026-02-24 05:12:54 +01:00
  • 857241135c feat: add --peer arg for manual peer configuration sleepy 2026-02-24 05:09:44 +01:00
  • ff15392267 fix: pass Zeroconf instance (not AsyncZeroconf) to AsyncServiceBrowser sleepy 2026-02-24 04:58:41 +01:00
  • 5350a6e271 fix: use AsyncZeroconf for proper async mDNS handling sleepy 2026-02-24 04:57:12 +01:00
  • 7b8ef3f4d3 fix: run zeroconf in thread to avoid EventLoopBlocked sleepy 2026-02-24 04:52:52 +01:00
  • 57f585b0ac debug: add traceback for mDNS advertising errors sleepy 2026-02-24 04:50:25 +01:00