diff --git a/agent/store/xun/assistant_test.go b/agent/store/xun/assistant_test.go index fd69b412..75280c2e 100644 --- a/agent/store/xun/assistant_test.go +++ b/agent/store/xun/assistant_test.go @@ -2173,7 +2173,7 @@ func TestUpdateAssistant(t *testing.T) { // Try to update system fields (should be ignored) updates := map[string]interface{}{ - "assistant_id": "new-id-123", // Should be ignored + "assistant_id": "new-id-123", // Should be ignored "created_at": int64(123456789), // Should be ignored "name": "Valid Update", // Should be applied } diff --git a/openapi/tests/agent/assistant_update_test.go b/openapi/tests/agent/assistant_update_test.go index 29d03a45..ba87fd06 100644 --- a/openapi/tests/agent/assistant_update_test.go +++ b/openapi/tests/agent/assistant_update_test.go @@ -763,9 +763,9 @@ func TestUpdateAssistant(t *testing.T) { }, }, "options": map[string]interface{}{ - "temperature": 0.9, - "max_tokens": 4000, - "top_p": 0.95, + "temperature": 0.9, + "max_tokens": 4000, + "top_p": 0.95, "frequency_penalty": 0.5, }, "workflow": map[string]interface{}{ @@ -1043,4 +1043,3 @@ func BenchmarkUpdateAssistant(b *testing.B) { resp.Body.Close() } } -