Skip to content

Commit 0af01c0

Browse files
authored
fix(task): update error message and user agent to reflect CoStrict branding (#629)
1 parent c5ce935 commit 0af01c0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ logs
5151
qdrant_storage/
5252
.cospec
5353
.roo/rules/generated_rules.md
54+
openspec

src/api/providers/bedrock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
220220
this.costModelConfig = this.getModel()
221221

222222
const clientConfig: BedrockRuntimeClientConfig = {
223-
userAgentAppId: `RooCode#${Package.version}`,
223+
userAgentAppId: `CoStrict#${Package.version}`,
224224
region: this.options.awsRegion,
225225
// Add the endpoint configuration when specified and enabled
226226
...(this.options.awsBedrockEndpoint &&

src/core/task/Task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
751751
// simply removes the reference to this instance, but the instance is
752752
// still alive until this promise resolves or rejects.)
753753
if (this.abort) {
754-
throw new Error(`[RooCode#ask] task ${this.taskId}.${this.instanceId} aborted`)
754+
throw new Error(`[CoStrict#ask] task ${this.taskId}.${this.instanceId} aborted`)
755755
}
756756

757757
let askTs: number

0 commit comments

Comments
 (0)