homie-gg / homie

1 stars 0 forks source link

fix(AI): switch from functions to tools #170

Closed mikewuu closed 2 months ago

mikewuu commented 2 months ago

functions is depcreated, this updates openai client to use tools instead. They seem to be functionally equivalent, except tools support the tool_choice param.