Write a http request in Fennel.
- User
Write a http request in Fennel.
Assistant
Here's an HTTP request in Fennel:
(require '[fennel.core :as fn]) (fn/let [url "https://example.com" method :get headers {"Content-Type" "application/json"}] (fn/http-request url :method method :headers headers))This makes a GET request to https://example.com with a Content-Type header of application/json.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.