mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 03:03:44 +00:00
Fix X-Initiator header logic for GitHub Copilot
Check last message role instead of any message in history. This matches the original correct implementation from PR #200. fixes #209
This commit is contained in:
parent
13b8af1f36
commit
575dcb2676
5 changed files with 18 additions and 14 deletions
|
|
@ -3225,7 +3225,7 @@ export const MODELS = {
|
|||
cost: {
|
||||
input: 0.24,
|
||||
output: 0.38,
|
||||
cacheRead: 0.19,
|
||||
cacheRead: 0.11,
|
||||
cacheWrite: 0,
|
||||
},
|
||||
contextWindow: 163840,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue