Skip to content

Commit 48e86fd

Browse files
committed
remove console prints
1 parent a84411a commit 48e86fd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

spec/lib/post_embedding_process_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,8 @@
5252
SiteSetting.chatbot_open_ai_embeddings_model = "text-embedding-ada-002"
5353
freeze_time(3.days.ago)
5454
post = Fabricate(:post)
55-
pp post.updated_at
5655
freeze_time(2.days.ago)
5756
post_embedding = ::DiscourseChatbot::PostEmbedding.create!(post_id: post.id, model: "text-embedding-3-small", embedding: "[#{(1..1536).to_a.join(",")}]")
58-
pp post_embedding.updated_at
5957
expect(subject.is_valid(post.id)).to eq(false)
6058
freeze_time(1.days.ago)
6159
post_embedding = ::DiscourseChatbot::PostEmbedding.upsert({post_id: post.id, model: "text-embedding-ada-002", embedding: "[#{(1..1536).to_a.join(",")}]"}, on_duplicate: :update, unique_by: :post_id)

0 commit comments

Comments
 (0)