microsoft / vscode-prompt-tsx

MIT License
34 stars 1 forks source link

Try to support tool_calls #77

Closed roblourens closed 2 months ago

roblourens commented 2 months ago

This gets a bit weird, not sure how we want to handle the types here. ChatMessage gets more complicated, and different types of messages have different props. Should we have different ChatMessage interfaces? Should we just copy interfaces from the openai package or even depend on that package?