0
respostas

[Bug] Erro na parte do Assistente.

Estou pegando o seguinte erro ao executar o projeto.

line 3004, in wrapper
return arg(*args, **kwargs)
TypeError: Assistants.create() got an unexpected keyword argument 'file_ids'

During handling of the above exception, another exception occurred:

Sei que está ocorrendo nessa parte do código:
model = modelo,
tools= [{"type": "retrieval"}],
file_ids = lista_ids_arquivos

Como se faz para resolver?