diff --git a/api/chat_model.py b/api/chat_model.py index f7cbf2fc4..e45fb5b66 100644 --- a/api/chat_model.py +++ b/api/chat_model.py @@ -16,9 +16,9 @@ class ChatCompletionRequest(BaseModel): messages: List[ChatMessage] = Field(..., description="List of chat messages") filePath: Optional[str] = Field(None, description="Optional path to a file in the repository to include in the prompt") token: Optional[str] = Field(None, description="Personal access token for private repositories") - type: Optional[Literal["github", "gitlab", "bitbucket"]] = Field( + type: Optional[Literal["local", "github", "gitlab", "bitbucket"]] = Field( "github", - description="Type of repository (e.g., 'github', 'gitlab', 'bitbucket')", + description="Type of repository (e.g., 'local', 'github', 'gitlab', 'bitbucket')", ) # model parameters