Commit 4a4d21e
committed
Support AWF proxy endpoints via AWF_COPILOT_PROXY env var
When running inside an AWF sandbox, the API endpoint is a local
proxy URL (e.g., http://172.30.0.30:10002) that the provider
registry doesn't recognize. The AWF_COPILOT_PROXY env var names
the upstream provider (e.g., 'api.githubcopilot.com') whose
behaviour (headers, model defaults, catalog parsing) should be
used with the proxy URL as base_url.
This lets the taskflow agent work seamlessly through AWF's
credential-isolating API proxy sidecar.1 parent f139ac8 commit 4a4d21e
1 file changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
144 | 151 | | |
145 | 152 | | |
146 | 153 | | |
147 | 154 | | |
148 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
149 | 171 | | |
150 | 172 | | |
151 | 173 | | |
| |||
0 commit comments