Skip to content

Commit 0cb3df5

Browse files
lint fix
1 parent d2a008c commit 0cb3df5

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/backend/app_kernel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async def input_task_endpoint(input_task: InputTask, request: Request):
137137
# Convert input task to JSON for the kernel function, add user_id here
138138

139139
# Use the planner to handle the task
140-
result = await group_chat_manager.handle_input_task(input_task)
140+
await group_chat_manager.handle_input_task(input_task)
141141

142142
# Get plan from memory store
143143
plan = await memory_store.get_plan_by_session(input_task.session_id)

src/backend/kernel_tools/product_tools.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ async def add_new_product(
123123
async def update_product_price(product_name: str, price: float) -> str:
124124
"""Update the price of a specific product."""
125125
message = f"## Price Update\nPrice for **'{product_name}'** updated to **${price:.2f}**."
126-
126+
127127
return message
128128

129129
@staticmethod
@@ -197,7 +197,7 @@ async def review_product_quality(product_name: str) -> str:
197197
async def handle_product_recall(product_name: str, recall_reason: str) -> str:
198198
"""Handle a product recall for a specific product."""
199199
message = f"## Product Recall\nProduct recall for **'{product_name}'** initiated due to:\n\n{recall_reason}"
200-
200+
201201
return message
202202

203203
@staticmethod
@@ -461,7 +461,7 @@ async def create_training_material(
461461
) -> str:
462462
"""Develop training material for a specific product."""
463463
message = f"## Training Material Developed\nTraining material for **'{product_name}'** developed:\n\n{training_material}"
464-
464+
465465
return message
466466

467467
@staticmethod
@@ -471,7 +471,7 @@ async def create_training_material(
471471
async def update_product_labels(product_name: str, label_details: str) -> str:
472472
"""Update labels for a specific product."""
473473
message = f"## Product Labels Updated\nLabels for **'{product_name}'** updated with details:\n\n{label_details}"
474-
474+
475475
return message
476476

477477
@staticmethod
@@ -481,7 +481,7 @@ async def update_product_labels(product_name: str, label_details: str) -> str:
481481
async def manage_product_warranty(product_name: str, warranty_details: str) -> str:
482482
"""Manage the warranty for a specific product."""
483483
message = f"## Product Warranty Managed\nWarranty for **'{product_name}'** managed with details:\n\n{warranty_details}"
484-
484+
485485
return message
486486

487487
@staticmethod
@@ -491,7 +491,7 @@ async def manage_product_warranty(product_name: str, warranty_details: str) -> s
491491
async def forecast_product_demand(product_name: str, forecast_period: str) -> str:
492492
"""Forecast demand for a specific product."""
493493
message = f"## Demand Forecast\nDemand for **'{product_name}'** forecasted for **{forecast_period}**."
494-
494+
495495
return message
496496

497497
@staticmethod
@@ -503,7 +503,7 @@ async def handle_product_licensing(
503503
) -> str:
504504
"""Handle licensing for a specific product."""
505505
message = f"## Product Licensing Handled\nLicensing for **'{product_name}'** handled with details:\n\n{licensing_details}"
506-
506+
507507
return message
508508

509509
@staticmethod
@@ -515,7 +515,7 @@ async def manage_product_packaging(
515515
) -> str:
516516
"""Manage packaging for a specific product."""
517517
message = f"## Product Packaging Managed\nPackaging for **'{product_name}'** managed with details:\n\n{packaging_details}"
518-
518+
519519
return message
520520

521521
@staticmethod
@@ -527,7 +527,7 @@ async def set_product_safety_standards(
527527
) -> str:
528528
"""Set safety standards for a specific product."""
529529
message = f"## Safety Standards Set\nSafety standards for **'{product_name}'** set to:\n\n{safety_standards}"
530-
530+
531531
return message
532532

533533
@staticmethod
@@ -537,7 +537,7 @@ async def set_product_safety_standards(
537537
async def develop_product_features(product_name: str, features_details: str) -> str:
538538
"""Develop new features for a specific product."""
539539
message = f"## New Features Developed\nNew features for **'{product_name}'** developed with details:\n\n{features_details}"
540-
540+
541541
return message
542542

543543
@staticmethod
@@ -549,7 +549,7 @@ async def evaluate_product_performance(
549549
) -> str:
550550
"""Evaluate the performance of a specific product."""
551551
message = f"## Product Performance Evaluated\nPerformance of **'{product_name}'** evaluated based on:\n\n{evaluation_criteria}"
552-
552+
553553
return message
554554

555555
@staticmethod
@@ -559,7 +559,7 @@ async def evaluate_product_performance(
559559
async def manage_custom_product_orders(order_details: str) -> str:
560560
"""Manage custom orders for a specific product."""
561561
message = f"## Custom Product Order Managed\nCustom product order managed with details:\n\n{order_details}"
562-
562+
563563
return message
564564

565565
@staticmethod
@@ -570,7 +570,7 @@ async def update_product_images(product_name: str, image_urls: List[str]) -> str
570570
"""Update images for a specific product."""
571571
images = ", ".join(image_urls)
572572
message = f"## Product Images Updated\nImages for **'{product_name}'** updated:\n\n{images}"
573-
573+
574574
return message
575575

576576
@staticmethod
@@ -580,7 +580,7 @@ async def update_product_images(product_name: str, image_urls: List[str]) -> str
580580
async def handle_product_obsolescence(product_name: str) -> str:
581581
"""Handle the obsolescence of a specific product."""
582582
message = f"## Product Obsolescence Handled\nObsolescence for **'{product_name}'** handled."
583-
583+
584584
return message
585585

586586
@staticmethod
@@ -590,7 +590,7 @@ async def handle_product_obsolescence(product_name: str) -> str:
590590
async def manage_product_sku(product_name: str, sku: str) -> str:
591591
"""Manage SKU for a specific product."""
592592
message = f"## SKU Managed\nSKU for **'{product_name}'** managed:\n\n{sku}"
593-
593+
594594
return message
595595

596596
@staticmethod
@@ -602,7 +602,7 @@ async def provide_product_training(
602602
) -> str:
603603
"""Provide training for a specific product."""
604604
message = f"## Product Training Provided\nTraining for **'{product_name}'** provided with details:\n\n{training_session_details}"
605-
605+
606606
return message
607607

608608
# This function does NOT have the kernel_function annotation

0 commit comments

Comments
 (0)