Fix more /improve suggestions

This commit is contained in:
Eyal Sharon
2025-03-24 11:19:23 +02:00
parent 477ebf4926
commit a4387b5829
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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")
=====