Skip to content

Commit 03f4e2d

Browse files
Merge pull request #95 from 73ai/refactor-source-service-split
refactor: move internal services out of source/ into service/
2 parents 6253263 + 7d84c98 commit 03f4e2d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+70
-92
lines changed

agent/tools/schedule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/robfig/cron/v3"
1111

1212
"github.com/73ai/openbotkit/config"
13-
"github.com/73ai/openbotkit/source/scheduler"
13+
"github.com/73ai/openbotkit/service/scheduler"
1414
"github.com/73ai/openbotkit/store"
1515
)
1616

agent/tools/schedule_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"time"
1010

1111
"github.com/73ai/openbotkit/config"
12-
"github.com/73ai/openbotkit/source/scheduler"
12+
"github.com/73ai/openbotkit/service/scheduler"
1313
)
1414

1515
func testScheduleDeps(t *testing.T) ScheduleToolDeps {

channel/push_factory.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package channel
33
import (
44
"fmt"
55

6-
"github.com/73ai/openbotkit/source/scheduler"
6+
"github.com/73ai/openbotkit/service/scheduler"
77
)
88

99
func NewPusher(channelType string, meta scheduler.ChannelMeta) (Pusher, error) {

channel/push_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/73ai/openbotkit/source/scheduler"
7+
"github.com/73ai/openbotkit/service/scheduler"
88
)
99

1010
func TestNewPusherUnsupported(t *testing.T) {

channel/telegram/integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212

1313
"github.com/73ai/openbotkit/config"
1414
"github.com/73ai/openbotkit/internal/testutil"
15-
"github.com/73ai/openbotkit/memory"
15+
"github.com/73ai/openbotkit/service/memory"
1616
"github.com/73ai/openbotkit/provider/gemini"
17-
historysrc "github.com/73ai/openbotkit/source/history"
17+
historysrc "github.com/73ai/openbotkit/service/history"
1818
"github.com/73ai/openbotkit/store"
1919
)
2020

channel/telegram/session.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ import (
1515
"github.com/73ai/openbotkit/agent/tools"
1616
"github.com/73ai/openbotkit/config"
1717
"github.com/73ai/openbotkit/internal/skills"
18-
"github.com/73ai/openbotkit/memory"
18+
"github.com/73ai/openbotkit/service/memory"
1919
"github.com/73ai/openbotkit/oauth/google"
2020
"github.com/73ai/openbotkit/provider"
21-
historysrc "github.com/73ai/openbotkit/source/history"
22-
"github.com/73ai/openbotkit/source/scheduler"
21+
historysrc "github.com/73ai/openbotkit/service/history"
22+
"github.com/73ai/openbotkit/service/scheduler"
2323
slacksrc "github.com/73ai/openbotkit/source/slack"
24-
usagesrc "github.com/73ai/openbotkit/source/usage"
24+
usagesrc "github.com/73ai/openbotkit/service/usage"
2525
"github.com/73ai/openbotkit/store"
2626
)
2727

channel/telegram/session_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import (
1313

1414
"github.com/73ai/openbotkit/agent/tools"
1515
"github.com/73ai/openbotkit/config"
16-
"github.com/73ai/openbotkit/memory"
16+
"github.com/73ai/openbotkit/service/memory"
1717
"github.com/73ai/openbotkit/provider"
18-
historysrc "github.com/73ai/openbotkit/source/history"
18+
historysrc "github.com/73ai/openbotkit/service/history"
1919
"github.com/73ai/openbotkit/store"
2020
)
2121

daemon/contacts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"time"
88

99
"github.com/73ai/openbotkit/config"
10-
contactsrc "github.com/73ai/openbotkit/source/contacts"
10+
contactsrc "github.com/73ai/openbotkit/service/contacts"
1111
"github.com/73ai/openbotkit/store"
1212
)
1313

daemon/jobs/scheduled_task.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/73ai/openbotkit/channel"
1616
"github.com/73ai/openbotkit/config"
1717
"github.com/73ai/openbotkit/provider"
18-
"github.com/73ai/openbotkit/source/scheduler"
18+
"github.com/73ai/openbotkit/service/scheduler"
1919
"github.com/73ai/openbotkit/store"
2020
)
2121

daemon/scheduler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
"github.com/73ai/openbotkit/config"
1616
"github.com/73ai/openbotkit/daemon/jobs"
17-
"github.com/73ai/openbotkit/source/scheduler"
17+
"github.com/73ai/openbotkit/service/scheduler"
1818
"github.com/73ai/openbotkit/store"
1919
)
2020

0 commit comments

Comments
 (0)