• Combines the repository context and the user query into a single prompt.

    Parameters

    • dir: string

      The directory containing the repository files.

    • user_query: string

      The user's question.

    • OptionalgitignorePath: string

      Optional path to the .gitignore file.

    • OptionaladditionalIgnorePath: string[]

    Returns string

    The combined prompt.