mindsdb / mindsdb

The platform for building AI from enterprise data
https://mindsdb.com
Other
26.76k stars 4.88k forks source link

[Bug]: LiteLLM handler not handling queries properly #9714

Open RiyanaD opened 1 month ago

RiyanaD commented 1 month ago

Short description of current behavior

When entering the following query SELECT * FROM mindsdb.chat_model WHERE question = "How far is the moon?", it results in the "Error: model creation not completed". The chat_model shows up in the models folder but the query is saying the model has not been completed.

https://github.com/mindsdb/mindsdb/tree/main/mindsdb/integrations/handlers/litellm_handler

Video or screenshots

No response

Expected behavior

No response

How to reproduce the error

No response

Anything else?

No response

chandrevdw31 commented 1 month ago

@RiyanaD was the model done training,i.e in complete status? Can you share the syntax for your create model statement. Also share the results of DESCRIBE model_name please