Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1312a4c

Browse filesBrowse files
author
vatsal_venkatkrishna
committed
Reset to 4040945 and made changes for LLM Round 1
1 parent 4040945 commit 1312a4c
Copy full SHA for 1312a4c

File tree

Expand file treeCollapse file tree

2 files changed

+12
-6
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+12
-6
lines changed
Open diff view settings
Collapse file

‎.github/workflows/main.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
push:
33
branches:
4-
- main
4+
- '**'
55

66
pull_request:
77

@@ -17,4 +17,4 @@ jobs:
1717

1818
- run: pip install .
1919
- run: pip install -U pytest trio
20-
- run: pytest
20+
- run: pytest -vv
Collapse file

‎tests/test_types.py‎

Copy file name to clipboardExpand all lines: tests/test_types.py
+10-4Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ def test_jsonrpc_request():
88
"method": "initialize",
99
"params": {
1010
"protocolVersion": 1,
11-
"capabilities": {"batch": None, "sampling": None},
12-
"clientInfo": {"name": "mcp_python", "version": "0.1.0"},
13-
},
11+
"capabilities": {
12+
"batch": None,
13+
"sampling": None
14+
},
15+
"clientInfo": {
16+
"name": "mcp_python",
17+
"version": "0.1.0"
18+
}
19+
}
1420
}
1521

1622
request = JSONRPCMessage.model_validate(json_data)
@@ -21,4 +27,4 @@ def test_jsonrpc_request():
2127
assert request.root.id == 1
2228
assert request.root.method == "initialize"
2329
assert request.root.params is not None
24-
assert request.root.params["protocolVersion"] == 1
30+
assert request.root.params["protocolVersion"] == 1

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.