Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: separate agents #433

Merged
merged 8 commits into from
Nov 23, 2024
Merged

feat!: separate agents #433

merged 8 commits into from
Nov 23, 2024

Conversation

wangyoucao577
Copy link
Collaborator

@wangyoucao577 wangyoucao577 commented Nov 23, 2024

Purpose

Separate agents to more meaningful parts so that people's able to select specific agent to build and run.
Later PR(depends on TEN-framework/ten_framework#260) will speed up the building and run processing by only initializing the required extensions.

Task

  • Use modern task instead of make
  • Remove Makefile(no more make build/run-server available)
  • Separate current agents to agents/examples/demo and agents/examples/experimental
  • Upgrade build image to ten_agent_build:0.2.4
  • Update docs

Useful commands

### list available tasks
$ task -l
task: Available tasks for this project:
* build:               build
* clean:               clean up
* run:                 run servers
* run-gd-server:       run tman dev http server for graph designer
* run-server:          run backend http server
* use:                 use agent, default 'agents/examples/demo'

### use specific agent
$ task use AGENT=agents/examples/demo    # default
$ task use AGENT=agents/examples/experimental

### regular development routine, i.e., build if any code changed
$ task build

### run backend http server as well as dev-server for graph designer
$ task run

### clean 
$ task clean

@cyfyifanchen cyfyifanchen merged commit 53a5fa5 into main Nov 23, 2024
6 checks passed
@cyfyifanchen cyfyifanchen deleted the feature/seperate branch November 23, 2024 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants