jarvish 1.0.1

Next Generation AI Integrated Shell inspired by J.A.R.V.I.S. on Marvel's Iron Man
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! AI ツール関連モジュール
//!
//! ツールの定義、実行、Tool Call のストリーミング処理を管理する。

pub mod call;
pub mod definitions;
pub mod executor;

use async_openai::types::ChatCompletionTool;

/// すべてのツール定義を構築する
pub fn build_tools() -> Vec<ChatCompletionTool> {
    vec![
        definitions::shell_command_tool(),
        definitions::read_file_tool(),
        definitions::write_file_tool(),
    ]
}