@agentionai/agents 1.10.1 → 1.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -82,6 +82,13 @@ type LlamaCppConfig = Omit<OpenAICompatibleConfig, "baseURL" | "model" | "vendor
|
|
|
82
82
|
export declare class LlamaCppAgent extends OpenAICompatibleAgent {
|
|
83
83
|
constructor(config: LlamaCppConfig, history?: History);
|
|
84
84
|
protected getVendorName(): string;
|
|
85
|
+
/**
|
|
86
|
+
* `reasoning_control: true` opts the completion into `llama-server`'s
|
|
87
|
+
* `/chat/completions/control` endpoint — without it, a `reasoning_end`
|
|
88
|
+
* control call is silently ignored and the model keeps thinking. See
|
|
89
|
+
* {@link skipReasoning}.
|
|
90
|
+
*/
|
|
91
|
+
protected buildExtraRequestParams(): Record<string, unknown>;
|
|
85
92
|
/**
|
|
86
93
|
* List the models the server offers, adding the two things llama.cpp reports
|
|
87
94
|
* beyond the OpenAI-standard fields:
|
|
@@ -39,6 +39,15 @@ class LlamaCppAgent extends OpenAICompatibleAgent_1.OpenAICompatibleAgent {
|
|
|
39
39
|
getVendorName() {
|
|
40
40
|
return "llama.cpp";
|
|
41
41
|
}
|
|
42
|
+
/**
|
|
43
|
+
* `reasoning_control: true` opts the completion into `llama-server`'s
|
|
44
|
+
* `/chat/completions/control` endpoint — without it, a `reasoning_end`
|
|
45
|
+
* control call is silently ignored and the model keeps thinking. See
|
|
46
|
+
* {@link skipReasoning}.
|
|
47
|
+
*/
|
|
48
|
+
buildExtraRequestParams() {
|
|
49
|
+
return { reasoning_control: true };
|
|
50
|
+
}
|
|
42
51
|
/**
|
|
43
52
|
* List the models the server offers, adding the two things llama.cpp reports
|
|
44
53
|
* beyond the OpenAI-standard fields:
|