async-openai
async-openai copied to clipboard
[suggestion] Let list methods take an Option argument
Maybe this is my lack of experience, but when I'm requesting just a full list of objects like files I have to write something like:
let file_list = files.list::<[&str; 0]>(&[]).await?;
Wouldn't it be better to let it be just files.list(None).await?
?