clear print in chat models
This commit is contained in:
@@ -23,7 +23,6 @@ class ProductChatModel(models.Model):
|
||||
if not self.thread:
|
||||
client = openai.OpenAI(api_key=settings.OPENAI_API_KEY)
|
||||
product_json = ProductChatSerializer(instance=self.product).data
|
||||
print(product_json)
|
||||
try:
|
||||
|
||||
thread = client.beta.threads.create(
|
||||
|
||||
Reference in New Issue
Block a user