Skip to content

Commit a5ddf6f

Browse files
author
zach
authored
fix: chat result type (#25)
1 parent 675ceb2 commit a5ddf6f

File tree

3 files changed

+413
-412
lines changed

3 files changed

+413
-412
lines changed

mcpx_py/__main__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import psutil
99
import traceback
1010
import logging
11+
from pydoc import locate
1112

1213
from dotenv import load_dotenv
1314

@@ -133,7 +134,7 @@ async def chat_cmd(client, args):
133134
m,
134135
client=client,
135136
system_prompt=args.system,
136-
result_type=args.format,
137+
result_type=locate(args.format),
137138
ignore_tools=args.ignore,
138139
)
139140

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcpx-py"
3-
version = "0.5.2"
3+
version = "0.5.3"
44
description = "An mcp.run client for Python"
55
readme = "README.md"
66
requires-python = ">=3.12"

0 commit comments

Comments
 (0)