fix: adjust assistant response limits
This commit is contained in:
1 parent
45c1f9e5a9
commit
112db000fd
4 files changed
+2
-12
No files matched your search
@@ -511,12 +511,6 @@ export const AssistantConfiguration = () => {
|
|||||||
placeholder="/models"
|
placeholder="/models"
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
||||||
{destinationChanged && (
|
|
||||||
<Alert icon={<IconAlertTriangle size={18} />} color="yellow" title={t("destinationChanged.title")}>
|
|
||||||
{t("destinationChanged.description")}
|
|
||||||
</Alert>
|
|
||||||
)}
|
|
||||||
</ConfigurationSection>
|
</ConfigurationSection>
|
||||||
|
|
||||||
<ConfigurationSection
|
<ConfigurationSection
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import { assistantExecutionPolicy } from "./assistant-execution-policy";
|
|||||||
describe("assistantExecutionPolicy", () => {
|
describe("assistantExecutionPolicy", () => {
|
||||||
test("allows a sizeable batch of tool calls to finish in one request", () => {
|
test("allows a sizeable batch of tool calls to finish in one request", () => {
|
||||||
expect(assistantExecutionPolicy.maxSteps).toBeGreaterThanOrEqual(32);
|
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.totalTimeoutMs).toBeGreaterThan(assistantExecutionPolicy.stepTimeoutMs);
|
||||||
expect(assistantExecutionPolicy.toolTimeoutMs).toBeGreaterThanOrEqual(60_000);
|
expect(assistantExecutionPolicy.toolTimeoutMs).toBeGreaterThanOrEqual(60_000);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
export const assistantExecutionPolicy = {
|
export const assistantExecutionPolicy = {
|
||||||
maxSteps: 32,
|
maxSteps: 32,
|
||||||
maxOutputTokens: 8_192,
|
maxOutputTokens: 65_536,
|
||||||
totalTimeoutMs: 240_000,
|
totalTimeoutMs: 240_000,
|
||||||
stepTimeoutMs: 60_000,
|
stepTimeoutMs: 60_000,
|
||||||
toolTimeoutMs: 60_000,
|
toolTimeoutMs: 60_000,
|
||||||
|
|||||||
@@ -6194,10 +6194,6 @@
|
|||||||
"title": "API base URL",
|
"title": "API base URL",
|
||||||
"description": "Include the API prefix, usually /v1. In containers, localhost refers to the Homarr container."
|
"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": {
|
"apiKey": {
|
||||||
"title": "API key",
|
"title": "API key",
|
||||||
"required": "Required by this provider. The value is encrypted and write-only.",
|
"required": "Required by this provider. The value is encrypted and write-only.",
|
||||||
|
|||||||
Reference in new issue
Block a user