Fix typo 'lighting' --> 'lightning'; update labler (#823)

This commit is contained in:
Eric Zhu
2025-09-18 19:17:12 -07:00
committed by GitHub
Unverified
parent 99860a5d07
commit 367a3275d1
14 changed files with 30 additions and 24 deletions
+8 -2
View File
@@ -24,5 +24,11 @@ workflows:
- dotnet/src/Microsoft.Agents.Workflows/**
- dotnet/src/Microsoft.Agents.Workflows.Declarative/**
- dotnet/samples/GettingStarted/Workflow/**
- python/packages/workflows/**
- python/samples/getting_started/workflow/**
- python/packages/main/agent_framework/_workflow/**
- python/samples/getting_started/workflow/**
# Add 'lab' label to any change within the 'python/packages/lab' directory
lab:
- changed-files:
- any-glob-to-any-file:
- python/packages/lab/**
+2 -2
View File
@@ -15,7 +15,7 @@ one of the following categories:
## Lab Packages
- [**gaia**](./gaia/): GAIA benchmark implementation (`agent-framework-lab-gaia`)
- [**lighting**](./lighting/): Reinforcement learning for agents (`agent-framework-lab-lighting`)
- [**lightning**](./lightning/): Reinforcement learning for agents (`agent-framework-lab-lightning`)
## How do I contribute?
@@ -78,7 +78,7 @@ cookiecutter /path/to/agent-framework/python/packages/lab/cookiecutter-agent-fra
You will be prompted for:
- **package_name**: The name of your lab package (e.g., "lighting", "vision")
- **package_name**: The name of your lab package (e.g., "lightning", "vision")
- **package_display_name**: Human-readable name (e.g., "Lighting Tools", "Computer Vision")
- **package_description**: Brief description (auto-generated from display name)
- **include_cli_script**: Whether to include a CLI script (y/n)
@@ -11,7 +11,7 @@ cookiecutter ./cookiecutter-agent-framework-lab
You will be prompted for the following information:
- **package_name**: The name of your lab package (e.g., "lighting", "vision")
- **package_name**: The name of your lab package (e.g., "lightning", "vision")
- **package_display_name**: Human-readable name (e.g., "Lighting Tools", "Computer Vision")
- **package_description**: Brief description of the package (auto-generated from display name)
- **version**: Starting version (default: 0.1.0b1)
@@ -1,17 +1,17 @@
# Agent Framework Lab - Agent Framework x Agent Lighting
# Agent Framework Lab - Agent Framework x Agent Lightning
RL Module for Microsoft Agent Framework
## Installation
```bash
pip install agent-framework-lab-lighting
pip install agent-framework-lab-lightning
```
## Usage
```python
from agent_framework.lab.lighting import YourClass
from agent_framework.lab.lightning import YourClass
# Your usage example here
instance = YourClass()
@@ -32,7 +32,7 @@ Brief description of what this lab package provides and its main features.
### Basic Usage
```python
from agent_framework.lab.lighting import YourClass
from agent_framework.lab.lightning import YourClass
# Example usage
```
@@ -1,4 +1,4 @@
# Copyright (c) Microsoft. All rights reserved.
# Import and re-export from the actual implementation
from agent_framework_lab_lighting import * # noqa: F403, F401
from agent_framework_lab_lightning import * # noqa: F403, F401
@@ -1,5 +1,5 @@
[project]
name = "agent-framework-lab-lighting"
name = "agent-framework-lab-lightning"
description = "RL Module for Microsoft Agent Framework"
authors = [{ name = "Microsoft", email = "SK-Support@microsoft.com"}]
readme = "README.md"
@@ -28,7 +28,7 @@ dependencies = [
[project.scripts]
lighting = "agent_framework_lab_lighting:main"
lightning = "agent_framework_lab_lightning:main"
[build-system]
@@ -36,10 +36,10 @@ requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["agent_framework_lab_lighting", "agent_framework.lab.lighting"]
packages = ["agent_framework_lab_lightning", "agent_framework.lab.lightning"]
[tool.setuptools.package-data]
agent_framework_lab_lighting = ["py.typed"]
agent_framework_lab_lightning = ["py.typed"]
[tool.ruff]
line-length = 120
@@ -66,15 +66,15 @@ warn_return_any = true
warn_unreachable = true
show_error_codes = true
implicit_reexport = true
packages = ["agent_framework_lab_lighting"]
packages = ["agent_framework_lab_lightning"]
[tool.poe]
executor.type = "uv"
include = "../../../shared_tasks.toml"
[tool.poe.tasks]
test = "pytest --cov=agent_framework_lab_lighting --cov-report=term-missing:skip-covered tests"
mypy = "mypy agent_framework_lab_lighting"
test = "pytest --cov=agent_framework_lab_lightning --cov-report=term-missing:skip-covered tests"
mypy = "mypy agent_framework_lab_lightning"
[tool.pytest.ini_options]
@@ -1,13 +1,13 @@
# Copyright (c) Microsoft. All rights reserved.
"""Tests for lighting module."""
"""Tests for lightning module."""
import pytest
from agent_framework_lab_lighting import __version__
from agent_framework_lab_lightning import __version__
class TestLighting:
"""Test the lighting module."""
class TestLightning:
"""Test the lightning module."""
def test_version(self):
"""Test package version is defined."""
+3 -3
View File
@@ -28,7 +28,7 @@ members = [
"agent-framework-copilotstudio",
"agent-framework-foundry",
"agent-framework-lab-gaia",
"agent-framework-lab-lighting",
"agent-framework-lab-lightning",
"agent-framework-mem0",
"agent-framework-project",
"agent-framework-runtime",
@@ -175,9 +175,9 @@ requires-dist = [
]
[[package]]
name = "agent-framework-lab-lighting"
name = "agent-framework-lab-lightning"
version = "0.1.0b1"
source = { editable = "packages/lab/lighting" }
source = { editable = "packages/lab/lightning" }
dependencies = [
{ name = "agent-framework", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or sys_platform == 'win32'" },
{ name = "pydantic", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or sys_platform == 'win32'" },