gitcode-api 1.2.5__py3-none-any.whl → 1.2.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
gitcode_api/llm/mcp.py CHANGED
@@ -10,7 +10,10 @@ if TYPE_CHECKING:
10
10
 
11
11
 
12
12
  def _missing_fastmcp_error() -> ImportError:
13
- return ImportError("FastMCP support requires the optional dependency: pip install 'gitcode-api[mcp]'")
13
+ return ImportError(
14
+ "FastMCP support requires the optional dependency: pip install 'gitcode-api[mcp]' "
15
+ "Note: Python 3.10+ is required for FastMCP."
16
+ )
14
17
 
15
18
 
16
19
  def _load_fastmcp() -> tuple["type[FastMCP]", Callable[..., "Tool"]]:
gitcode_api/version.txt CHANGED
@@ -1 +1 @@
1
- 1.2.5
1
+ 1.2.6
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gitcode-api
3
- Version: 1.2.5
3
+ Version: 1.2.6
4
4
  Summary: Easy to use Python SDK for the GitCode REST API. Providing builtin CLI tool, and optional LLM integration (MCP and OpenAI tool) for agents. Community-maintained.
5
5
  Author-email: Hugo Huang <hugo@hugohuang.com>
6
6
  License-Expression: MIT
@@ -8,10 +8,10 @@ gitcode_api/_exceptions.py,sha256=T5N8gBGmPSktDkLP5P_hxbzOHw3W378TzxN1xja40pA,11
8
8
  gitcode_api/_models.py,sha256=v-GZzCGAb3_frY6wFiQww9m271U5MigivpEHDHnoDcI,109030
9
9
  gitcode_api/cli.py,sha256=DpnyGP54CkMGWwc8Krakt9i8RtAAsV45sN2UfgwMdIA,16631
10
10
  gitcode_api/py.typed,sha256=mDShSrm8qg9qjacQc2F-rI8ATllqP6EdgHuEYxuCXZ0,7
11
- gitcode_api/version.txt,sha256=_it8I3tabkKBiqPk9_xYIPScMiicMsliYO-JqMj209c,6
11
+ gitcode_api/version.txt,sha256=WET_zDRvicB7E7p1lr-zeI7XP0dV5UEYLXgi1Dt8eiQ,6
12
12
  gitcode_api/llm/__init__.py,sha256=YLILw5R8ViiaxGUXnlBAFAZQwo7YKAmNO1MOPEuesVI,1294
13
13
  gitcode_api/llm/_tool.py,sha256=4C9RbQh2tNJ1Y5V3eom1aOcC0sE4VMhbihHOZE-_c1k,13555
14
- gitcode_api/llm/mcp.py,sha256=c5qnRcjladcHd-r1ZwtK23-QQaOg5utmK7w0AxMvQHo,3546
14
+ gitcode_api/llm/mcp.py,sha256=J6r-COnJj9m1xbKw9u7h6DRgsi8slWkG5J6NhbERd3c,3615
15
15
  gitcode_api/llm/openai.py,sha256=CcS3tFntzAuN2HMbbQDctb54AnasU3n3a1Jr9LWAHwM,1998
16
16
  gitcode_api/resources/__init__.py,sha256=nsCKW0bFDZ5ombJZxLThmO82sOuF7o4OKUMRkAmwbwk,1725
17
17
  gitcode_api/resources/_shared.py,sha256=7bCym8bIfs818SiYYrBGI7-ZtiYlxECSDG3RduInu10,5387
@@ -19,9 +19,9 @@ gitcode_api/resources/account.py,sha256=mnc2p7wI-nBnHFNdWPNiHfmZpT6d3RDQC777gewt
19
19
  gitcode_api/resources/collaboration.py,sha256=8lyk78GTjVXddiE9fieutsMGovRjteGfTJcAhwLoR0M,101607
20
20
  gitcode_api/resources/misc.py,sha256=guDwh4cxbTVsSa7EivaYM3bKMJ8_Op4KucGbKEoayKE,22412
21
21
  gitcode_api/resources/repositories.py,sha256=EAK2znZhEsgVUu-NDEQslSEEYJzvb-kHuh4mW57y6sc,78178
22
- gitcode_api-1.2.5.dist-info/licenses/LICENSE,sha256=gOACXuWhMu6PJKVLr9RQbxX3HULnZIGNXCaMFJIXhoA,1067
23
- gitcode_api-1.2.5.dist-info/METADATA,sha256=r-j3RgFK_SS8y43bBZi0BXAE0t5UFvhbek5dfnSsT2I,15497
24
- gitcode_api-1.2.5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
25
- gitcode_api-1.2.5.dist-info/entry_points.txt,sha256=dIPylJcgohIE2RRIlt3In2WzcwDK8TOdkL_ReKuij4o,53
26
- gitcode_api-1.2.5.dist-info/top_level.txt,sha256=gIlg0ptyOUHJT64ajOjWIhRPYgIQnMIvnhhnesw9fxU,12
27
- gitcode_api-1.2.5.dist-info/RECORD,,
22
+ gitcode_api-1.2.6.dist-info/licenses/LICENSE,sha256=gOACXuWhMu6PJKVLr9RQbxX3HULnZIGNXCaMFJIXhoA,1067
23
+ gitcode_api-1.2.6.dist-info/METADATA,sha256=YSRPn8DKQdeFM2fgGT0I9EFhr848na9Ph2zLZIlj920,15497
24
+ gitcode_api-1.2.6.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
25
+ gitcode_api-1.2.6.dist-info/entry_points.txt,sha256=dIPylJcgohIE2RRIlt3In2WzcwDK8TOdkL_ReKuij4o,53
26
+ gitcode_api-1.2.6.dist-info/top_level.txt,sha256=gIlg0ptyOUHJT64ajOjWIhRPYgIQnMIvnhhnesw9fxU,12
27
+ gitcode_api-1.2.6.dist-info/RECORD,,