Skip to content

Commit

Permalink
Troubleshoot vector indexing
Browse files Browse the repository at this point in the history
Need to figure out what's going on while e2e testing
  • Loading branch information
michaeljguarino committed Mar 3, 2025
1 parent 3b0aa68 commit 35b4b2b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/console/ai/pubsub/vector/protocol.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ defimpl Console.AI.PubSub.Vectorizable, for: Console.PubSub.ScmWebhook do
actor: %ScmWebhook{type: :github}
}) do
with %ScmConnection{} = conn <- Tool.scm_connection(),
do: Dispatcher.files(conn, pr)
do: Dispatcher.files(conn, pr) |> IO.inspect(label: "files response:")
end

def resource(event) do
Logger.info "ignoring scm webhook event #{inspect(event)}"
end
def resource(_), do: :ok
end


Expand Down

0 comments on commit 35b4b2b

Please sign in to comment.