-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathobelisk-local-go-all.toml
More file actions
52 lines (48 loc) · 2.15 KB
/
Copy pathobelisk-local-go-all.toml
File metadata and controls
52 lines (48 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[[activity_wasm]]
name = "activity_llm_openai_go"
location = "activity/llm/openai-go/dist/openai-go.wasm"
exec.lock_expiry.seconds = 10
env_vars = [{key="OPENAI_API_BASE_URL", value="${OPENAI_API_BASE_URL:-https://api.openai.com}"}]
[[activity_wasm.allowed_host]]
pattern = "${OPENAI_API_BASE_URL:-https://api.openai.com}"
methods = ["POST"]
secrets = ["OPENAI_API_KEY"]
replace_in = ["headers"]
[[activity_wasm]]
name = "activity_github_impl"
location = "target/wasm32-wasip2/release/activity_github_impl.wasm"
exec.lock_expiry.seconds = 5
[[activity_wasm.allowed_host]]
pattern = "https://api.github.com"
methods = ["POST"]
secrets = ["GITHUB_TOKEN_STARGAZERS"]
replace_in = ["headers"]
[[activity_wasm]]
name = "activity_db_turso"
location = "target/wasm32-wasip2/release/activity_db_turso.wasm"
env_vars = ["TURSO_LOCATION"]
exec.lock_expiry.seconds = 5
[[activity_wasm.allowed_host]]
pattern = "${TURSO_LOCATION}"
methods = ["POST"]
secrets = ["TURSO_TOKEN"]
replace_in = ["headers"]
[[workflow_wasm]]
name = "workflow_go"
location = "workflow/stargazers/workflow-go/dist/workflow-go.wasm"
stub_wasi = true
[workflow_wasm.backtrace.sources]
"workflow/stargazers/workflow-go/main.go" = "workflow/stargazers/workflow-go/main.go"
"workflow/stargazers/workflow-go/gen/stargazers/workflow/workflow/workflow.wasm.go" = "workflow/stargazers/workflow-go/gen/stargazers/workflow/workflow/workflow.wasm.go"
"workflow/stargazers/workflow-go/gen/stargazers/github-obelisk-ext/account/account.wit.go" = "workflow/stargazers/workflow-go/gen/stargazers/github-obelisk-ext/account/account.wit.go"
"workflow/stargazers/workflow-go/gen/stargazers/db-obelisk-ext/llm/llm.wit.go" = "workflow/stargazers/workflow-go/gen/stargazers/db-obelisk-ext/llm/llm.wit.go"
[[webhook_endpoint_wasm]]
name = "webhook_go"
location = "webhook/webhook-go/dist/webhook-go.wasm"
routes = [{ methods = ["POST", "GET"], route = "" }]
env_vars = [
"GITHUB_WEBHOOK_SECRET",
# "GITHUB_WEBHOOK_INSECURE=true", # to disable signature verification
]
[webhook_endpoint_wasm.backtrace.sources]
"webhook/webhook-go/main.go" = "webhook/webhook-go/main.go"