fix: adjust assistant response limits

This commit is contained in:
ajnart authored and Thomas Camlong committed 2026-08-09 18:09:11 +02:00
1 parent 45c1f9e5a9
commit 112db000fd
4 files changed
+2 -12

No files matched your search

@@ -511,12 +511,6 @@ export const AssistantConfiguration = () => {
placeholder="/models"
/>
</Stack>
{destinationChanged && (
<Alert icon={<IconAlertTriangle size={18} />} color="yellow" title={t("destinationChanged.title")}>
{t("destinationChanged.description")}
</Alert>
)}
</ConfigurationSection>
<ConfigurationSection
@@ -5,7 +5,7 @@ import { assistantExecutionPolicy } from "./assistant-execution-policy";
describe("assistantExecutionPolicy", () => {
test("allows a sizeable batch of tool calls to finish in one request", () => {
expect(assistantExecutionPolicy.maxSteps).toBeGreaterThanOrEqual(32);
expect(assistantExecutionPolicy.maxOutputTokens).toBeGreaterThanOrEqual(8_192);
expect(assistantExecutionPolicy.maxOutputTokens).toBeGreaterThanOrEqual(65_536);
expect(assistantExecutionPolicy.totalTimeoutMs).toBeGreaterThan(assistantExecutionPolicy.stepTimeoutMs);
expect(assistantExecutionPolicy.toolTimeoutMs).toBeGreaterThanOrEqual(60_000);
});
@@ -1,6 +1,6 @@
export const assistantExecutionPolicy = {
maxSteps: 32,
maxOutputTokens: 8_192,
maxOutputTokens: 65_536,
totalTimeoutMs: 240_000,
stepTimeoutMs: 60_000,
toolTimeoutMs: 60_000,
-4
View File
@@ -6194,10 +6194,6 @@
"title": "API base URL",
"description": "Include the API prefix, usually /v1. In containers, localhost refers to the Homarr container."
},
"destinationChanged": {
"title": "Credentials will not follow this endpoint",
"description": "Changing the provider or base URL clears the stored API key and headers unless replacements are entered now. This prevents sending one provider's secrets to another service."
},
"apiKey": {
"title": "API key",
"required": "Required by this provider. The value is encrypted and write-only.",