• Libraries

  • Home

  • aero
  • async-flow-fx
  • bidi
  • blossom
  • buddy-core
  • buddy-sign
  • camel-snake-kebab
  • chime
  • clj-kondo
  • clojure
  • clojure.data.json
  • closeable-map
  • config
  • core.async
  • crypto-password
  • cuerdas
  • data.xml
  • devcards
  • digest
  • etaoin
  • fs
  • hiccup
  • hikari-cp
  • honeysql
  • http-fx
  • humanize
  • image-resizer
  • integrant
  • loom
  • migratus
  • next-jdbc
  • openai-clojure
  • postal
  • process
  • reitit-parent
  • ring
  • selmer
  • shadow-cljs-tailwind-jit
  • testcontainers-clj
  • tick
  • timbre
  • tools.cli
  • websocket-client

Library released under Flexiana license. Copyright 2024 Flexiana.

Visit Flexiana website

Public Vars

  • cancel-fine-tuning-job (clj)
  • cancel-run (clj)
  • create-assistant (clj)
  • create-chat-completion (clj)
  • create-completion (clj)
  • create-embedding (clj)
  • create-file (clj)
  • create-fine-tuning-job (clj)
  • create-image (clj)
  • create-image-edit (clj)
  • create-image-variation (clj)
  • create-message (clj)
  • create-moderation (clj)
  • create-run (clj)
  • create-speech (clj)
  • create-thread (clj)
  • create-thread-and-run (clj)
  • create-transcription (clj)
  • create-translation (clj)
  • create-vector-store (clj)
  • delete-assistant (clj)
  • delete-file (clj)
  • delete-model (clj)
  • delete-thread (clj)
  • delete-vector-store (clj)
  • download-file (clj)
  • list-assistants (clj)
  • list-files (clj)
  • list-fine-tuning-events (clj)
  • list-fine-tuning-jobs (clj)
  • list-messages (clj)
  • list-models (clj)
  • list-run-steps (clj)
  • list-runs (clj)
  • list-vector-stores (clj)
  • modify-assistant (clj)
  • modify-message (clj)
  • modify-run (clj)
  • modify-thread (clj)
  • modify-vector-store (clj)
  • retrieve-assistant (clj)
  • retrieve-file (clj)
  • retrieve-fine-tuning-job (clj)
  • retrieve-message (clj)
  • retrieve-model (clj)
  • retrieve-run (clj)
  • retrieve-run-step (clj)
  • retrieve-thread (clj)
  • retrieve-vector-store (clj)
  • submit-tool-outputs-to-run (clj)
Back

cancel-run (clj)

(source)

function

(cancel-run params) (cancel-run params options)
Returns a list of run steps belonging to a run. Example: ``` (cancel-run {:thread_id "----id----" :run_id "----id----"}) ``` Also see the [OpenAI documentation](https://platform.openai.com/docs/api-reference/runs/cancelRun)

Examples