NOT SURE WHAT DOES THE ORCA TEST DO BUT JUST LEAVE IT HERE
This commit is contained in:
@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict):
|
||||
|
||||
# Mock response for audit
|
||||
response = requests.post(
|
||||
"http://localhost:5000/api/builder/summarizer/audit",
|
||||
"http://localhost:5000/api/summarizer/audit",
|
||||
json={
|
||||
"taskId": context.config.task_id,
|
||||
"roundNumber": round_number,
|
||||
|
@ -19,7 +19,7 @@ async def execute(context: Context, prepare_data: dict):
|
||||
|
||||
# Mock response for fetching todo
|
||||
response = requests.post(
|
||||
"http://localhost:5000/api/builder/summarizer/fetch-summarizer-todo",
|
||||
"http://localhost:5000/api/summarizer/fetch-summarizer-todo",
|
||||
json={
|
||||
"stakingKey": staking_key,
|
||||
"roundNumber": round_number,
|
||||
|
@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict):
|
||||
|
||||
# Mock response for repo summary generation
|
||||
response = requests.post(
|
||||
"http://localhost:5000/api/builder/summarizer/generate-summary",
|
||||
"http://localhost:5000/api/summarizer/generate-summary",
|
||||
json={
|
||||
"taskId": context.config.task_id,
|
||||
"round_number": str(round_number),
|
||||
|
@ -26,7 +26,7 @@ async def execute(context: Context, prepare_data: dict):
|
||||
|
||||
# Mock response for submission
|
||||
response = requests.post(
|
||||
"http://localhost:5000/api/builder/summarizer/submit",
|
||||
"http://localhost:5000/api/summarizer/submit",
|
||||
json={
|
||||
"taskId": context.config.task_id,
|
||||
"roundNumber": round_number,
|
||||
|
@ -17,7 +17,7 @@ async def execute(context: Context, prepare_data: dict):
|
||||
|
||||
# Mock response for Anthropic API validation
|
||||
response = requests.post(
|
||||
"http://localhost:5000/api/builder/summarizer/validate-api-key",
|
||||
"http://localhost:5000/api/summarizer/validate-api-key",
|
||||
json={"api_key": api_key},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user