github-haystack 1.0.0__py3-none-any.whl → 1.0.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: github-haystack
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Haystack components for interacting with GitHub repositories
5
5
  Project-URL: Source, https://github.com/deepset-ai/haystack-core-integrations/github
6
6
  Project-URL: Documentation, https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/github/README.md
@@ -8,8 +8,8 @@ haystack_integrations/components/connectors/github/repo_viewer.py,sha256=tECbnxa
8
8
  haystack_integrations/prompts/github/__init__.py,sha256=jjkSZGJ76S0EX-ZTv4qrhpxGrwVpBb_TCyqMJFhl2ec,759
9
9
  haystack_integrations/prompts/github/context_prompt.py,sha256=RSzISqtaBHaC7v6rcyyxt2vxmbBVp5OHsWR6Z2wp5pk,8783
10
10
  haystack_integrations/prompts/github/file_editor_prompt.py,sha256=_ro-I3MbVIpYpVFJbSpj4TuzbKLX7wTGn55Q95q8jFE,3301
11
- haystack_integrations/prompts/github/issue_commenter_prompt.py,sha256=MavmvrnNCJNYzT5zwv61pY_BkehbJqSPSsGzILIItb4,701
12
- haystack_integrations/prompts/github/issue_viewer_prompt.py,sha256=AvkDmRvpcQX9wGnouPI3kH7nZ_JuehpmBnUvbNTzh6A,966
11
+ haystack_integrations/prompts/github/issue_commenter_prompt.py,sha256=EPynR1z6joRMowsse5hHjkDmpQljYeEBK4fCCxeBCvY,904
12
+ haystack_integrations/prompts/github/issue_viewer_prompt.py,sha256=QlEjfrnoTRiZYlbySMbGu2EP2jfi62c3qfEPNuV_bUc,930
13
13
  haystack_integrations/prompts/github/pr_creator_prompt.py,sha256=tNC9BdzIowZ42o8bmnrJ46aonIzMfVHRrZopwryiABI,3944
14
14
  haystack_integrations/prompts/github/repo_viewer_prompt.py,sha256=JkU2ODn06Vs_YQozF1H0vYym7jzczSdN1kAOXSD5IkA,3257
15
15
  haystack_integrations/prompts/github/system_prompt.py,sha256=xiOEAbENJiLHL8M1qrgSdUxrfguAphI_6B0kqelxDok,4209
@@ -20,7 +20,7 @@ haystack_integrations/tools/github/issue_viewer_tool.py,sha256=cfpQLoSj3KvZc0gv7
20
20
  haystack_integrations/tools/github/pr_creator_tool.py,sha256=WGn6ovtmiiFINrwlP00l_Jt6PUrF7A_N9ATPJHOLQEE,4925
21
21
  haystack_integrations/tools/github/repo_viewer_tool.py,sha256=jcXv0zXEQnAstWq5A4H_5hp50DUfGobRKI5COlnTupE,5984
22
22
  haystack_integrations/tools/github/utils.py,sha256=xNAOtPo7Txq8Q4KhYARopP-4DOiU_m53hd4tHZKaStE,2936
23
- github_haystack-1.0.0.dist-info/METADATA,sha256=se7kf9JKuvakNRJP6RK58xPJRMvVV9mNPJ0QvC-v7AA,1709
24
- github_haystack-1.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
- github_haystack-1.0.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
26
- github_haystack-1.0.0.dist-info/RECORD,,
23
+ github_haystack-1.0.1.dist-info/METADATA,sha256=0G5__sZ4KvI0i-T0Yn5nE6ulCgGly4ddxUJzckcjvWA,1709
24
+ github_haystack-1.0.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
25
+ github_haystack-1.0.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
26
+ github_haystack-1.0.1.dist-info/RECORD,,
@@ -4,18 +4,20 @@
4
4
  ISSUE_COMMENTER_PROMPT = """Haystack-Agent uses this tool to post a comment to a GitHub-issue discussion.
5
5
 
6
6
  <usage>
7
- Pass a `comment` string to post a comment.
7
+ Pass a `comment` string and a `url` string to post a comment to a GitHub issue.
8
8
  </usage>
9
9
 
10
10
  IMPORTANT
11
- Haystack-Agent MUST pass "comment" to this tool. Otherwise, comment creation fails.
12
- Haystack-Agent always passes the contents of the comment to the "comment" parameter when calling this tool.
11
+ Haystack-Agent MUST pass "comment" and "url" to this tool. Otherwise, comment creation fails.
12
+ Haystack-Agent always passes the contents of the comment to the "comment" parameter and
13
+ the URL of the GitHub issue to the "url" parameter when calling this tool.
13
14
  """
14
15
 
15
16
  ISSUE_COMMENTER_SCHEMA = {
16
17
  "properties": {
17
- "comment": {"type": "string", "description": "The contents of the comment that you want to create."}
18
+ "comment": {"type": "string", "description": "The contents of the comment that you want to create."},
19
+ "url": {"type": "string", "description": "URL of the GitHub issue to comment on."},
18
20
  },
19
- "required": ["comment"],
21
+ "required": ["comment", "url"],
20
22
  "type": "object",
21
23
  }
@@ -5,21 +5,21 @@ ISSUE_VIEWER_PROMPT = """Haystack-Agent uses this tool to view a GitHub issue.
5
5
  Haystack-Agent can view one issue at a time.
6
6
 
7
7
  <usage>
8
- Pass an `issue_url` string for the GitHub issue that you want to view.
9
- It is required to pass `issue_url` to use this tool.
8
+ Pass an `url` string for the GitHub issue that you want to view.
9
+ It is required to pass `url` to use this tool.
10
10
  The structure is "https://github.com/repo-owner/repo-name/issues/issue-number".
11
11
 
12
12
  Examples:
13
13
 
14
- - {"issue_url": "https://github.com/deepset-ai/haystack/issues/9343"}
14
+ - {"url": "https://github.com/deepset-ai/haystack/issues/9343"}
15
15
  - will show you the issue 9343 of the haystack repository
16
- - {"issue_url": "https://github.com/deepset-ai/haystack-core-integrations/issues/1685"}
16
+ - {"url": "https://github.com/deepset-ai/haystack-core-integrations/issues/1685"}
17
17
  - will show you the issue 1685 of the haystack-core-integrations repository
18
18
  </usage>
19
19
  """
20
20
 
21
21
  ISSUE_VIEWER_SCHEMA = {
22
- "properties": {"issue_url": {"type": "string", "description": "URL of the GitHub issue to link the PR to."}},
23
- "required": ["issue_url"],
22
+ "properties": {"url": {"type": "string", "description": "URL of the GitHub issue to link the PR to."}},
23
+ "required": ["url"],
24
24
  "type": "object",
25
25
  }