mirror of
https://github.com/sst/opencode.git
synced 2025-08-03 21:28:14 +00:00
feat(tui): modes
This commit is contained in:
parent
ba5be6b625
commit
ce4cb820f7
20 changed files with 430 additions and 87 deletions
|
@ -117,10 +117,12 @@ func TestSessionChat(t *testing.T) {
|
|||
context.TODO(),
|
||||
"id",
|
||||
opencode.SessionChatParams{
|
||||
Mode: opencode.F("mode"),
|
||||
ModelID: opencode.F("modelID"),
|
||||
Parts: opencode.F([]opencode.UserMessagePartUnionParam{opencode.TextPartParam{
|
||||
Text: opencode.F("text"),
|
||||
Type: opencode.F(opencode.TextPartTypeText),
|
||||
Text: opencode.F("text"),
|
||||
Type: opencode.F(opencode.TextPartTypeText),
|
||||
Synthetic: opencode.F(true),
|
||||
}}),
|
||||
ProviderID: opencode.F("providerID"),
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue