Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ def __init__(

configuration = kwargs

logger.debug(f"Initializing AgentApplication with options: {options}")
logger.debug(
f"Initializing AgentApplication with configuration: {configuration}"
)

if not options:
# TODO: consolidate configuration story
# Take the options from the kwargs and create an ApplicationOptions instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from __future__ import annotations

from dataclasses import dataclass, field
from logging import Logger
from typing import Callable, Optional

from microsoft_agents.hosting.core.app.oauth import AuthHandler
Expand All @@ -20,8 +19,6 @@
from .state.turn_state import TurnState
from .proactive.proactive_options import ProactiveOptions
Comment thread
rodrigobr-msft marked this conversation as resolved.
Comment thread
rodrigobr-msft marked this conversation as resolved.

Comment thread
rodrigobr-msft marked this conversation as resolved.
# from .teams_adapter import TeamsAdapter


@dataclass
class ApplicationOptions:
Expand All @@ -30,11 +27,6 @@ class ApplicationOptions:
Optional. Options used to initialize your `BotAdapter`
"""
Comment thread
rodrigobr-msft marked this conversation as resolved.

# auth: Optional[AuthOptions] = None
"""
Optional. Auth settings.
"""

bot_app_id: str = ""
"""
Optional. `AgentApplication` ID of the bot.
Expand All @@ -45,11 +37,6 @@ class ApplicationOptions:
Optional. `Storage` provider to use for the application.
"""

logger: Logger = Logger(__name__)
"""
Optional. `Logger` that will be used in this application.
"""

remove_recipient_mention: bool = True
Comment thread
rodrigobr-msft marked this conversation as resolved.
Comment thread
rodrigobr-msft marked this conversation as resolved.
"""
Optional. If true, the bot will automatically remove mentions of the bot's name from incoming
Comment thread
rodrigobr-msft marked this conversation as resolved.
Expand Down
Loading