feat: add user_id index to profiles table for faster lookups
This commit is contained in:
parent
29f16bd70b
commit
cbcb041f68
2
chat.h
2
chat.h
@ -72,8 +72,6 @@ char *chat_json(char *role, char *message) {
|
||||
json_object_object_add(root_object, "max_tokens", json_object_new_int(prompt_max_tokens));
|
||||
json_object_object_add(root_object, "temperature", json_object_new_double(prompt_temperature));
|
||||
|
||||
printf("%s\n", json_object_to_json_string_ext(root_object, JSON_C_TO_STRING_PRETTY));
|
||||
|
||||
return (char *)json_object_to_json_string_ext(root_object, JSON_C_TO_STRING_PRETTY);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user