r/CommandCode • • 2d ago

Use model's native web search

I tried deepseek v4.1 flash 1017 and muse ember on commandcode goat subscription.

These 2 models have native web search (or provider-side websearch) available "in their original provider" , like this:

{"type":"web_search"} to /provider/v1/responses

so that we don't need to set up a tavily or exa websearch tool.(The round trip reasoning +search will be dispatched to the data center instead of my server)

But it seems with commandcode api, those don't work.

Does anybody know a workaround?

Is there any feature request regarding this, which i can vote for?

Will buying Pro fix this issue?(Probably not?)

Sending {"type":"web_search"} to /provider/v1/responses returns 200, but the response reports tools: [], there's no web_search_call item, and the model answers NO_WEB_ACCESS.

Same on deepseek/deepseek-v4.1-flash and meta/muse-ember, non-streaming and streaming; /chat/completions rejects non-function tools outright with 400 expected "function"

Thank you

1 Upvotes

5 comments sorted by

1

u/songokussm 2d ago

I believe searching is provided by the harness, not the model.

0

u/Ecstatic-Diet-1375 2d ago

It is strange that nobody knows about this! I searched and asked ai to search, but nobody talks about this! The model itself, yes it cannot perform websearch, but when you use deepseek api , you can pass a parameter, and then deepseek does the websearch for you!

This way you don't have to care about websearch in your harness.

Other models such as Ember have this capability too.

The question is, if meta is the only provider of muse/ember , why the native websearch doesn't work?

2

u/Existing_One_ 1d ago

And DeepSeek has a seperate charge for that and only on their own api

1

u/yshubham-1 2d ago

Command Code Harness already has web search that the ai agent can use :)

1

u/Ecstatic-Diet-1375 1d ago

I'm talking about API