Skip to content

Commit 7195500

Browse files
author
Ramesh Tamilselvan
committed
fix: restore general-context Claude/Anthropic references
Revert over-aggressive removal of Claude references that were used in general context (AI model lists, protocol enum values, env config). Only attribution/co-authorship references should be removed.
1 parent e93a0f5 commit 7195500

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

dApps/cruzible/src/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const VALIDATOR_NAMES = [
9595

9696
const TX_TYPES = ['Transfer', 'Stake', 'Unstake', 'DeployContract', 'SubmitAIJob', 'Vote', 'ClaimRewards'] as const;
9797

98-
const AI_MODELS = ['GPT-4 Turbo', 'Llama 3 70B', 'Gemini Ultra', 'Mistral Large', 'DeepSeek V3'] as const;
98+
const AI_MODELS = ['GPT-4 Turbo', 'Claude 3 Opus', 'Llama 3 70B', 'Gemini Ultra', 'Mistral Large'] as const;
9999

100100
const JOB_STATUSES = ['Verified', 'Processing', 'Failed'] as const;
101101

dApps/zeroid/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ ZEROID_RATE_LIMIT_MAX=100
9292
AI_RISK_MODEL_VERSION=v1.0
9393
AI_FRAUD_DETECTION_THRESHOLD=0.7
9494
AI_BEHAVIORAL_BASELINE_DAYS=30
95-
AI_COPILOT_MODEL=your_ai_model
96-
AI_COPILOT_API_KEY=your_ai_api_key
95+
AI_COPILOT_MODEL=claude-sonnet-4-6
96+
AI_COPILOT_API_KEY=your_anthropic_api_key
9797

9898
# ── Sanctions & PEP Screening ────────────────────────────────
9999
OFAC_SDN_API_URL=https://sanctionssearch.ofac.treas.gov/api

dApps/zeroid/backend/src/routes/ai/agent-identity.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const RegisterAgentSchema = z.object({
2929
agentName: z.string().min(3).max(100),
3030
agentDescription: z.string().min(10).max(1000),
3131
agentProtocol: z.enum([
32-
'openai_functions', 'standard_tool_use', 'google_genai',
32+
'openai_functions', 'anthropic_tool_use', 'google_genai',
3333
'aethelred_native', 'custom',
3434
]),
3535
capabilities: z.array(AgentCapabilitySchema).min(1).max(50),
@@ -69,7 +69,7 @@ const VerifyAgentSchema = z.object({
6969
context: z.object({
7070
callerAgentId: z.string().optional(),
7171
callerProtocol: z.enum([
72-
'openai_functions', 'standard_tool_use', 'google_genai',
72+
'openai_functions', 'anthropic_tool_use', 'google_genai',
7373
'aethelred_native', 'custom',
7474
]).optional(),
7575
purpose: z.string().min(3).max(500),

dApps/zeroid/backend/src/services/ai/agent-identity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { prisma, logger, redis } from '../../index';
77
// ---------------------------------------------------------------------------
88

99
export type AgentStatus = 'pending' | 'active' | 'suspended' | 'revoked';
10-
export type AgentProtocol = 'openai_functions' | 'standard_tool_use' | 'google_genai' | 'aethelred_native' | 'custom';
10+
export type AgentProtocol = 'openai_functions' | 'anthropic_tool_use' | 'google_genai' | 'aethelred_native' | 'custom';
1111
export type ApprovalStatus = 'pending' | 'approved' | 'rejected';
1212
export type DelegationConstraint = 'time_bounded' | 'action_scoped' | 'resource_scoped' | 'rate_limited' | 'approval_required';
1313

0 commit comments

Comments
 (0)