kalafus

Results 9 issues of kalafus

Specification states, "He answers 'Calm down, I know what I'm doing!' if you yell a question at him."

fix test blocking error: "warning: variable 'school' was never mutated; consider changing to 'let' constant"

## What simple Reverse Proxy support ## Why The API Key can't be exposed to end-users, so this project fundamentally requires reverse proxy support to be of use beyond in-house....

## What remove legacy completions endpoint (uses obsolete models and truncates responses) ## Why legacy `.completions(query: CompletionsQuery)` endpoint technically still works, but it frequently truncates responses. the `.chats(query: ChatQuery)` endpoint...

## What remove obsolete, inactive 'edits' endpoint ## Why `edits` endpoint no longer works ## Affected Areas .edits(EditsQuery)

## What typesafe models ## Why shouldn't have to validate models. SpeechQuery had a method to validateSpeechModel, pointing out the need to validate Models, and highlighting the lack of validation...

make StreamableQuery symmetrically convert ChatQuery objects to non-streamable mode on the fly ## What ChatQuery initialized with `stream = true` can be used in `.chats` ## Why parity with non-streamable...

## What be specific with Codable: use Encodable for queries, Decodable for results, instead of Codable for everything ## Why accurate inheritance prevents accidental misuse ## Affected Areas JSON encoding...

## What remove special handling of `performSpeechRequest` handle receiving raw (non-JSON-wrapped) data in the same workflow as all other incoming data. ## Why `AudioSpeechResult` wrapper uniquely does not represent JSON...