Commit Graph
101 Commits
Author SHA1 Message Date
liwenrui 070486a918 * add exception for the scenario where the second step function call fails. 2023-10-10 09:30:25 +08:00
liwenrui bc6080c425 * adapt ai methods for baidu ernie. 2023-10-08 17:32:53 +08:00
liwenrui c93c9b0969 + baidu ernie configurations. 2023-10-08 16:38:49 +08:00
Chenjianyu 00e79f72f8 * fix error message style, bug #37919. 2023-09-01 16:31:12 +08:00
Chenjianyu 6a01a498b0 * refactor, add a method to determine the AI model is configured or not. 2023-08-31 17:15:04 +08:00
Chenjianyu 3215c0020b * add a save success message. 2023-08-30 17:28:01 +08:00
Chenjianyu b5f6d33d3a * change the code style to avoid a code transition problem. 2023-08-30 13:44:46 +08:00
Chenjianyu 8523aefb37 * display usernames on the prompt list. 2023-08-29 09:10:00 +08:00
Chenjianyu fbffe6d7cc * disable prompt publish when users don't config the AI model. 2023-08-24 17:24:28 +08:00
Chenjianyu 422565d352 * disable prompt exec when users don't config the AI model. 2023-08-24 17:22:08 +08:00
liwenrui 6c46847961 * fix admin app shows blank page after going auditing. 2023-08-24 14:39:02 +08:00
liwenrui e883a515ef * prevent closing admin app on audit start. 2023-08-23 13:16:54 +08:00
Chenjianyu 005ecfb651 * fix duplicate error messages. 2023-08-23 11:13:44 +08:00
jyeu e9b8a3880e * hide none exist module in the sidebar. 2023-08-18 10:38:38 +08:00
liwenrui 9f652d9bd5 * close useless last app when navigating to form. 2023-08-16 14:30:40 +08:00
Chenjianyu dafe05f8d7 * fix ai test for azure vendor. 2023-08-15 15:37:57 +08:00
Chenjianyu ee8f42c269 * add required field validators. 2023-08-14 16:34:51 +08:00
liwenrui 5127523615 * fix possible wrong app state on prompt execute. 2023-08-11 10:48:13 +08:00
liwenrui 9370a5394d * return earlier. 2023-08-08 15:21:54 +08:00
liwenrui e5e202c25d * give up execution if required target form vars not set. 2023-08-08 15:01:07 +08:00
liwenrui b69d563cab * fix go back links after prompt execution, bug #36843. 2023-08-07 16:11:07 +08:00
Chenjianyu 29ea70fe33 * fix a jump back app doesn't follow. 2023-08-07 14:35:44 +08:00
Chenjianyu d537d56db5 * fix a wrong var when jump back to view after publishing a prompt. 2023-08-07 10:43:41 +08:00
Chenjianyu 276de474f4 * fix a condition. 2023-08-04 15:47:25 +08:00
Chenjianyu 81034eda5a * change the publishing jump location. 2023-08-04 09:51:08 +08:00
Chenjianyu 24fe79f895 * fix the missing default value. 2023-08-04 09:41:53 +08:00
Chenjianyu 94a9cb1c8f * adjust prompt audit to exit. 2023-08-04 09:34:02 +08:00
liwenrui 77704cd880 * redirect to most relevant ai admin page. 2023-08-03 10:30:35 +08:00
Chenjianyu c2d44a3e51 * save a new role template when save the prompt role. 2023-08-02 14:13:54 +08:00
Chenjianyu 17dff4aa71 * add edit role template method. 2023-08-02 10:26:07 +08:00
Chenjianyu 0e2edd4327 * add delete role template method. 2023-08-02 09:53:23 +08:00
Chenjianyu 22e5f8234f * add create role template and dynamic refresh the role template list. 2023-08-01 16:45:12 +08:00
Chenjianyu a9cf9b60a4 * add get role templates method. 2023-08-01 11:08:10 +08:00
liwenrui 1dc96fa408 * remove alert after prompt execution, and fix placeholder keeps showing even with content injected, bug #36913. 2023-07-31 09:26:11 +08:00
liwenrui 466a951038 * show error for connection testing. 2023-07-28 14:49:23 +08:00
liwenrui 24cda2834c * add prompt name to tab titles. 2023-07-27 14:48:47 +08:00
liwenrui 46ebf21edb * give up on brs. 2023-07-27 14:44:59 +08:00
liwenrui b96a2b4123 * fix badly replaced code. 2023-07-27 14:22:12 +08:00
liwenrui bdcc09ce4d * refactor. 2023-07-27 14:19:25 +08:00
liwenrui ec03744af3 * check for required args when checking connection, bug #36814. 2023-07-27 09:42:27 +08:00
liwenrui 16491d9e83 * revert. 2023-07-26 14:52:22 +08:00
liwenrui 15aa0245ea * refactor. 2023-07-26 14:51:06 +08:00
Chenjianyu cd58b94ac1 * readjustment prompt audit button. 2023-07-26 09:30:01 +08:00
liwenrui 672307d81b * fix undefined property. 2023-07-25 16:48:11 +08:00
liwenrui 5cfcb2267d * make errors verboser. 2023-07-25 15:38:45 +08:00
liwenrui 3d015a1ccb * verbose failure messages. 2023-07-25 14:53:50 +08:00
liwenrui b3f5ba68b5 * fix data source is my (which is no longer usable) by default. 2023-07-25 14:39:19 +08:00
liwenrui 91a9944cc1 + prompt delete. 2023-07-25 14:31:17 +08:00
liwenrui 6906adfb6a * fix unable to generate url. 2023-07-25 13:44:04 +08:00
liwenrui 9057fab255 * fix calling model method. 2023-07-25 13:07:10 +08:00