Skip to content

Commit 52e1044

Browse files
committed
Init Agent Api
1 parent 630894f commit 52e1044

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def set_cors_origin_list(cls, cors_origin_list, info: FieldValidationInfo):
3636
valid_cors.append("https://app.agno.com")
3737
# Add localhost to cors to allow requests from the local environment.
3838
valid_cors.append("http://localhost")
39+
# Add localhost:3000 to cors to allow requests from local Agent UI.
40+
valid_cors.append("http://localhost:3000")
3941

4042
return valid_cors
4143

0 commit comments

Comments
 (0)