Skip to content

Azure openai assistans list interface parameter splicing error #794

@WhiteNightMo

Description

@WhiteNightMo

Environment:

  • go-openai version: v1.24.0
  • Go version: 1.19.10

Screenshots/Logs
image

Additional context
If the parameter contains paging information, the generated url will contain two question marks.
The output I printed:

c.fullURL(urlSuffix): https://xxx.openai.azure.com/openai/assistants?limit=10?api-version=2023-05-15

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions