shotgun-sh 0.1.0.dev29__py3-none-any.whl → 0.1.0.dev31__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.

Potentially problematic release.


This version of shotgun-sh might be problematic. Click here for more details.

@@ -36,6 +36,8 @@ async def llm_cypher_prompt(system_prompt: str, user_prompt: str) -> str:
36
36
  """
37
37
  model_config = get_provider_model()
38
38
  # Use shotgun wrapper to maximize response quality for codebase queries
39
+ # Limit max_tokens to 2000 for Cypher queries (they're typically 50-200 tokens)
40
+ # This prevents Anthropic SDK from requiring streaming for longer token limits
39
41
  query_cypher_response = await shotgun_model_request(
40
42
  model_config=model_config,
41
43
  messages=[
@@ -46,6 +48,7 @@ async def llm_cypher_prompt(system_prompt: str, user_prompt: str) -> str:
46
48
  ]
47
49
  ),
48
50
  ],
51
+ max_tokens=2000, # Cypher queries are short, 2000 tokens is plenty
49
52
  )
50
53
 
51
54
  if not query_cypher_response.parts or not query_cypher_response.parts[0]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: shotgun-sh
3
- Version: 0.1.0.dev29
3
+ Version: 0.1.0.dev31
4
4
  Summary: AI-powered research, planning, and task management CLI tool
5
5
  Project-URL: Homepage, https://shotgun.sh/
6
6
  Project-URL: Repository, https://github.com/shotgun-sh/shotgun
@@ -69,7 +69,7 @@ shotgun/codebase/core/code_retrieval.py,sha256=_JVyyQKHDFm3dxOOua1mw9eIIOHIVz3-I
69
69
  shotgun/codebase/core/ingestor.py,sha256=H_kVCqdOKmnQpjcXvUdPFpep8OC2AbOhhE-9HKr_XZM,59836
70
70
  shotgun/codebase/core/language_config.py,sha256=vsqHyuFnumRPRBV1lMOxWKNOIiClO6FyfKQR0fGrtl4,8934
71
71
  shotgun/codebase/core/manager.py,sha256=6gyjfACbC5n1Hdy-JQIEDH2aNAlesUS9plQP_FHoJ94,59277
72
- shotgun/codebase/core/nl_query.py,sha256=iV6NbsyDd1SQpT9U9BtgxcZPsNoEW3OHrkk475r_jAY,11410
72
+ shotgun/codebase/core/nl_query.py,sha256=vOc8S_5U5wJEzIznFPhV5KDB438M4Rr0dnpoGraEthM,11653
73
73
  shotgun/codebase/core/parser_loader.py,sha256=LZRrDS8Sp518jIu3tQW-BxdwJ86lnsTteI478ER9Td8,4278
74
74
  shotgun/prompts/__init__.py,sha256=RswUm0HMdfm2m2YKUwUsEdRIwoczdbI7zlucoEvHYRo,132
75
75
  shotgun/prompts/loader.py,sha256=jy24-E02pCSmz2651aCT2NgHfRrHAGMYvKrD6gs0Er8,4424
@@ -123,8 +123,8 @@ shotgun/utils/__init__.py,sha256=WinIEp9oL2iMrWaDkXz2QX4nYVPAm8C9aBSKTeEwLtE,198
123
123
  shotgun/utils/env_utils.py,sha256=8QK5aw_f_V2AVTleQQlcL0RnD4sPJWXlDG46fsHu0d8,1057
124
124
  shotgun/utils/file_system_utils.py,sha256=l-0p1bEHF34OU19MahnRFdClHufThfGAjQ431teAIp0,1004
125
125
  shotgun/utils/update_checker.py,sha256=Xf-7w3Pos3etzCoT771gJe2HLkA8_V2GrqWy7ni9UqA,11373
126
- shotgun_sh-0.1.0.dev29.dist-info/METADATA,sha256=XLRPwFmfmINfF-iyE1j77l3J2XQ42BJvAIx7d-nz6-k,11197
127
- shotgun_sh-0.1.0.dev29.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
128
- shotgun_sh-0.1.0.dev29.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
129
- shotgun_sh-0.1.0.dev29.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
130
- shotgun_sh-0.1.0.dev29.dist-info/RECORD,,
126
+ shotgun_sh-0.1.0.dev31.dist-info/METADATA,sha256=fK3jZfstqvS9w_vujcIFo1SWL2FsND3eLOQciGN2cAI,11197
127
+ shotgun_sh-0.1.0.dev31.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
128
+ shotgun_sh-0.1.0.dev31.dist-info/entry_points.txt,sha256=asZxLU4QILneq0MWW10saVCZc4VWhZfb0wFZvERnzfA,45
129
+ shotgun_sh-0.1.0.dev31.dist-info/licenses/LICENSE,sha256=YebsZl590zCHrF_acCU5pmNt0pnAfD2DmAnevJPB1tY,1065
130
+ shotgun_sh-0.1.0.dev31.dist-info/RECORD,,