pan class="op">(</span><span class="va">prompt</span>, <span class="va">api_key</span><span class="op">)</span> <span class="op">{</span></span>
<span>  <span class="co"># Implementation for the new provider</span></span>
<span>  <span class="va">url</span> <span class="op">&lt;-</span> <span class="st">"https://api.newprovider.com/v1/completions"</span></span>
<span></span>
<span>  <span class="va">headers</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="