mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 10:37:35 +00:00
feat(jira): generate issue titles on the connection host (#28625)
Generate Jira issue titles through the selected execution host, protecting cancelled requests and treating Jira content as quoted prompt data. Co-authored-by: Kazuki Hanai <kazukihanai@sakana.ai>
This commit is contained in:
@@ -137,7 +137,7 @@ function bindNamedMethods<T extends object>(
|
||||
}
|
||||
|
||||
export class RuntimeEdgeCommandController {
|
||||
private readonly jira = new RuntimeJiraCommands()
|
||||
private readonly jira: RuntimeJiraCommands
|
||||
private readonly browser: RuntimeBrowserCommands
|
||||
private readonly screencasts: RuntimeBrowserScreencastController
|
||||
private readonly emulator: RuntimeEmulatorCommands
|
||||
@@ -145,10 +145,12 @@ export class RuntimeEdgeCommandController {
|
||||
|
||||
constructor(args: {
|
||||
browserHost: RuntimeBrowserCommandHost
|
||||
jiraHost: ConstructorParameters<typeof RuntimeJiraCommands>[0]
|
||||
screencast: Omit<ScreencastDependencies, 'getCommands'>
|
||||
emulatorHost: EmulatorHost
|
||||
getBrowserCommands?: () => RuntimeBrowserCommands
|
||||
}) {
|
||||
this.jira = new RuntimeJiraCommands(args.jiraHost)
|
||||
this.browser = createRuntimeBrowserCommands(args.browserHost)
|
||||
this.screencasts = new RuntimeBrowserScreencastController({
|
||||
...args.screencast,
|
||||
|
||||
Reference in New Issue
Block a user