# ConsoleInputChannel no longer exist

**URL:** <https://forum.rasa.com/t/consoleinputchannel-no-longer-exist/757>\
**Category:** Rasa Open Source\
**Created:** [August 30, 2018, 2:30am UTC](https://forum.rasa.com/t/consoleinputchannel-no-longer-exist/757 "2018-08-30T02:30:02Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![jloutz](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jloutz/32/389_2.png) [@jloutz](https://forum.rasa.com/u/jloutz)\
**Post date:** [August 31, 2018, 8:50pm UTC](https://forum.rasa.com/t/consoleinputchannel-no-longer-exist/757/9 "2018-08-31T20:50:58Z")

</div>

So I know you have all already figured this out, but i will share this anyway. I have a python script which wraps common tasks like training running etc. Migrating from core 9 to core 11 caused me a small amount of work to get that going again. My custom “run” method for command line (in my script) in V9 looked like this:

```
def run(dbug=False):
if dbug:
    init_debug_logging()
from rasa_core.run import create_input_channel
agent = main("models/dialog",nlu_model="models/nlu/current",channel="cmdline")

agent = Agent.load("models/dialog", "models/nlu/current")
input_channel = create_input_channel("cmdline", None, None)
agent.handle_channel(input_channel)

return agent

```

Now (V11) it looks like this:

```
def run(dbug=False):
    if dbug:
        init_debug_logging()
    interpreter = NaturalLanguageInterpreter.create("models/nlu/current")
    from rasa_core.utils import EndpointConfig
    action_endpoint = EndpointConfig(url="http://localhost:5056/webhook")
    agent = Agent.load("models/dialog", interpreter=interpreter,action_endpoint=action_endpoint)
    rasa_core.run.serve_application(agent,channel='cmdline')
```

---

_[View the full topic](https://forum.rasa.com/t/consoleinputchannel-no-longer-exist/757)._
