Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devops:xhr:dev:local_dev [2025/10/22 17:45] – td | devops:xhr:dev:local_dev [2025/10/23 16:00] (current) – [Run] td | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| export API_HOST=http:// | export API_HOST=http:// | ||
| ``` | ``` | ||
| - | + | ### AI agent | |
| - | ## AI agent | + | |
| platform-frontend-app/ | platform-frontend-app/ | ||
| Line 19: | Line 18: | ||
| const url = `${baseUrl}${path} | const url = `${baseUrl}${path} | ||
| ``` | ``` | ||
| + | ### Run | ||
| + | |||
| + | ``` | ||
| + | . .env | ||
| + | npm run dev | ||
| + | ``` | ||
| + | |||
| + | ### dev user | ||
| + | |||
| + | thuy.dang+001@x-hr.co | ||
| + | 1S2N | ||
| # Start Agent | # Start Agent | ||
| Line 217: | Line 227: | ||
| ``` | ``` | ||
| ### Troubleshooting | ### Troubleshooting | ||
| + | #### Pass email form: | ||
| + | |||
| ``` | ``` | ||
| curl -X POST http:// | curl -X POST http:// | ||
| Line 222: | Line 234: | ||
| -d ' | -d ' | ||
| + | ``` | ||
| + | |||
| + | #### Get Token and me | ||
| + | |||
| + | ``` | ||
| + | TOKEN=$(curl -X POST http:// | ||
| + | echo $TOKEN | ||
| + | curl http:// | ||
| ``` | ``` | ||