gptme icon indicating copy to clipboard operation
gptme copied to clipboard

Tool type hints not showing for generic types that take arguments

Open bjsi opened this issue 10 months ago • 1 comments

def read(fp: str, line_range: Optional[list[int]] = None, query: Optional[str] = None, names: Optional[list[str]] = None):

Gets turned into this inside the prompt sent to the LLM.

read(fp: str, line_range: Optional, query: Optional, names: Optional):

Ideally it would include the full type information.

bjsi avatar Dec 18 '24 08:12 bjsi