Skip to content

should qwen3-coder answer as chat or as json? #70

@tyoc213

Description

@tyoc213

here is the normal output of qwen3-coder

$ ollama run qwen3-coder
>>> what is http3
HTTP/3 is the latest version of the HTTP protocol, the foundation of web communication. Here are its key features:

## What makes HTTP/3 different:

**Transport Layer**: Unlike HTTP/1 and HTTP/2 which use TCP, HTTP/3 runs over **QUIC** (Quick UDP Internet Connections) - a new transport protocol built on UDP.

## Key Benefits:

- **Faster connections**: Eliminates the TCP handshake delay
- **Better performance**: No head-of-line blocking (when one packet is lost, others don't block)
- **Improved reliability**: Built-in encryption and error correction
- **Reduced latency**: Faster page loads, especially on mobile networks

## How it works:

1. **QUIC protocol** handles the connection and data transfer
2. **HTTP/3 headers** are compressed using HPACK (similar to HTTP/2)
3. **Multiplexing** allows multiple requests over a single connection
4. **Built-in encryption** (like HTTPS) for security

## Current Status:

- Still being adopted by major browsers (Chrome, Firefox, Safari)
- Supported by major websites and CDNs
- Not yet universally adopted but growing rapidly
- Requires server support and proper configuration

HTTP/3 aims to solve many performance issues of previous HTTP versions, particularly on mobile networks and congested internet connections.  

but calling it with ssage outputs this

$ ssage --skip_system --mode sassy --model ollama_chat/qwen3-coder what is http3
{"name": "rg", "arguments": {"argstr": "http3", "disallow_re": "^(curl|wget|nc|nmap) "}} 

or

ssage --model ollama_chat/qwen3-coder what is http3
{ "name": "rg", "arguments": { "argstr": "http3" } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions