- Added ExecuteWithAuthorized method to the Script struct, allowing scripts to be executed with user authorization information. - Updated existing Execute method to utilize ExecuteWithAuthorized for improved authorization handling. - Enhanced script execution tests to verify behavior with and without authorized information, ensuring accurate context management. - Implemented authorized information conversion to a map for easier integration with runtime environments. - Refactored context handling in script execution to ensure authorized data is correctly passed and utilized. |
||
|---|---|---|
| .. | ||
| agent | ||
| dsl | ||
| file | ||
| hello | ||
| kb | ||
| oauth | ||
| testutils | ||
| trace | ||
| user | ||
| config_test.go | ||
| openapi_test.go | ||