diff --git a/pr_agent/git_providers/github_provider.py b/pr_agent/git_providers/github_provider.py index 11b35072..23126411 100644 --- a/pr_agent/git_providers/github_provider.py +++ b/pr_agent/git_providers/github_provider.py @@ -758,6 +758,7 @@ class GithubProvider(GitProvider): def _get_github_client(self): self.deployment_type = get_settings().get("GITHUB.DEPLOYMENT_TYPE", "user") + self.auth = None if self.deployment_type == 'app': try: private_key = get_settings().github.private_key diff --git a/pr_agent/settings/pr_help_docs_prompts.toml b/pr_agent/settings/pr_help_docs_prompts.toml index df68a4b6..c73e1d95 100644 --- a/pr_agent/settings/pr_help_docs_prompts.toml +++ b/pr_agent/settings/pr_help_docs_prompts.toml @@ -18,7 +18,7 @@ class DocHelper(BaseModel): user_question: str = Field(description="The user's question") response: str = Field(description="The response to the user's question") relevant_sections: List[relevant_section] = Field(description="A list of the relevant markdown/restructured text sections in the documentation that answer the user's question, ordered by importance (most relevant first)") - question_is_relevant: int = Field(description="Return 1 if the question is somewhat relevant to documenation. 0 - otherwise") + question_is_relevant: int = Field(description="Return 1 if the question is somewhat relevant to documentation. 0 - otherwise") =====