Skip to content

Commit 4765aab

Browse files
committed
feat: simplify by removing streaming for now
1 parent b3a5bc1 commit 4765aab

File tree

11 files changed

+655
-810
lines changed

11 files changed

+655
-810
lines changed

Cargo.lock

Lines changed: 102 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ members = [
44
# "api-client",
55
"cli",
66
# "mcp-server"
7-
]
7+
]

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ tools:
2828
- name: "list_files"
2929
description: "List files in a directory"
3030
input_schema:
31-
- type: object
32-
properties:
33-
path:
34-
type: string
35-
description: "Path to the directory (relative to current directory)"
36-
required:
37-
- path
31+
type: object
32+
properties:
33+
path:
34+
type: string
35+
description: "Path to the directory (relative to current directory)"
36+
required:
37+
- path
3838
command: |
3939
real_path=$(realpath "$param_path")
4040
# Ensure its within the current directory
@@ -47,13 +47,13 @@ tools:
4747
- name: "read_file"
4848
description: "Read the contents of a file"
4949
input_schema:
50-
- type: object
51-
properties:
52-
file_path:
53-
type: string
54-
description: "Path to the file to read"
55-
required:
56-
- file_path
50+
type: object
51+
properties:
52+
file_path:
53+
type: string
54+
description: "Path to the file to read"
55+
required:
56+
- file_path
5757
command: |
5858
real_path=$(realpath "$param_file_path")
5959
# Ensure its within the current directory
@@ -66,17 +66,17 @@ tools:
6666
- name: "write_file"
6767
description: "Write content to a file"
6868
input_schema:
69-
- type: object
70-
properties:
71-
file_path:
72-
type: string
73-
description: "Path to the file to write"
74-
content:
75-
type: string
76-
description: "Content to write to the file"
77-
required:
78-
- file_path
79-
- content
69+
type: object
70+
properties:
71+
file_path:
72+
type: string
73+
description: "Path to the file to write"
74+
content:
75+
type: string
76+
description: "Content to write to the file"
77+
required:
78+
- file_path
79+
- content
8080
command: |
8181
real_path=$(realpath "$param_file_path")
8282
# Ensure its within the current directory

cli/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ eventsource-stream = "0.2"
1919
futures = "0.3"
2020
regex = "1.11"
2121
chrono = { version = "0.4", features = ["serde"] }
22+
# async-openai = "0.28.3"
23+
async-openai-types = "0.24.1"
24+
async-trait = "0.1.88"

0 commit comments

Comments
 (0)