Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caller.py Spotify API GET /search bug if multiple types as params of caller agent output #10

Open
Chuck1823 opened this issue Dec 17, 2023 · 1 comment

Comments

@Chuck1823
Copy link

If the output of the caller agent looks something like:

Caller:
Operation: GET
Input: {
"url": "https://api.spotify.com/v1/search",
"params": {
"q": "Mariah Carey",
"type": "track,album",
"market": "US",
"limit": "20",
"offset": "0",
"include_external": "audio",
"order": "popularity desc"
}
}

Which is valid according to the Spotify OAS, the current code in caller.py will fail because it can't handle multiple values for "type": "track,album". I am going to raise a pull request to fix this.

@Chuck1823
Copy link
Author

@Yifan-Song793 @WeiminXiong @nightdessert & @Jdelbarcogarza circling back on this issue I raised a few weeks ago. Looking forward to hearing some feedback. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant