def url
import bend-kit-llm@0.13.0.1/llm.bend as Llmimport Base
305def url(api: Api, +base: String) -> String:
306 match api:
307 case Anthropic{}:
308 base ++ "/v1/messages"
309 case OpenAI{}:
310 base ++ "/chat/completions"
import bend-kit-llm@0.13.0.1/llm.bend as Llmimport Base
305def url(api: Api, +base: String) -> String:
306 match api:
307 case Anthropic{}:
308 base ++ "/v1/messages"
309 case OpenAI{}:
310 base ++ "/chat/completions"