diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md b/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md new file mode 100644 index 000000000..752ed0593 --- /dev/null +++ b/docs/03.reference/01.functions/GetTransactionIsolation/_arguments/datasource.md @@ -0,0 +1 @@ +Datasource name. When provided and no explicit isolation is set on the transaction, returns the datasource's default isolation level. \ No newline at end of file diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_examples.md b/docs/03.reference/01.functions/GetTransactionIsolation/_examples.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_returnTypeDesc.md b/docs/03.reference/01.functions/GetTransactionIsolation/_returnTypeDesc.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/_usageNotes.md b/docs/03.reference/01.functions/GetTransactionIsolation/_usageNotes.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/GetTransactionIsolation/function.md b/docs/03.reference/01.functions/GetTransactionIsolation/function.md new file mode 100644 index 000000000..03c7aca29 --- /dev/null +++ b/docs/03.reference/01.functions/GetTransactionIsolation/function.md @@ -0,0 +1,8 @@ +--- +title: GetTransactionIsolation +id: function-GetTransactionIsolation +categories: +- debugging +--- + +Returns the isolation level of the current transaction as a string. If a datasource is provided and no explicit isolation is set, returns the datasource's default isolation level. \ No newline at end of file diff --git a/docs/recipes/ai.md b/docs/recipes/ai.md index 2f8243a7e..5c8dfa020 100644 --- a/docs/recipes/ai.md +++ b/docs/recipes/ai.md @@ -416,6 +416,7 @@ All three AI engines (Claude, OpenAI, Gemini) support a **passthrough mechanism* When initializing an AI engine, Lucee extracts all known configuration properties (`model`, `apikey`, `temperature`, etc.) from the `custom` block. Any **remaining unknown keys** are collected and forwarded directly into the HTTP request body sent to the provider. Additionally, a `headers` key allows forwarding custom HTTP headers. This means: + - New provider features work immediately via config, no Lucee update required - Beta APIs and experimental parameters are fully accessible - The passthrough respects existing keys — it will never overwrite fields Lucee sets explicitly (like `model` or `messages`)